Skip to content

Commit 0f00522

Browse files
committed
ghactions update
commit_hash:ab1bc1aad7564781dbc3788af8b01c525f4c13ba
1 parent b8fadf2 commit 0f00522

File tree

8 files changed

+36
-16
lines changed

8 files changed

+36
-16
lines changed

.github/workflows/lint.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
name: Lint
2+
3+
permissions:
4+
contents: read
5+
26
on:
37
push:
48
branches:
@@ -20,5 +24,5 @@ jobs:
2024
- name: golangci-lint
2125
uses: golangci/golangci-lint-action@v6
2226
with:
23-
version: v1.58.2
27+
version: v1.63.4
2428
args: --timeout=10m

.github/workflows/release.yml

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: Release plugin
22

3+
permissions:
4+
attestations: write
5+
id-token: write
6+
37
on:
48
push:
59
tags:
@@ -20,19 +24,22 @@ jobs:
2024
with:
2125
fetch-depth: 0
2226

23-
- name: Setup Go 1.x
24-
uses: actions/setup-go@v5
27+
- uses: actions/setup-go@v5
2528
with:
2629
go-version-file: go.mod
30+
- uses: anchore/sbom-action/download-syft@v0.18.0 # installs syft
2731

2832
- name: Install GoReleaser & publish
29-
uses: goreleaser/goreleaser-action@v5
33+
uses: goreleaser/goreleaser-action@v6
3034
with:
3135
distribution: goreleaser
32-
version: latest
36+
version: "~> v2"
3337
args: release --clean
3438
env:
3539
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
40+
- uses: actions/attest-build-provenance@v2
41+
with:
42+
subject-checksums: ./dist/checksums.txt
3643

3744
release-hub:
3845
name: Publish to CloudQuery Hub
@@ -60,9 +67,9 @@ jobs:
6067
go-version-file: go.mod
6168

6269
- name: Setup CloudQuery
63-
uses: cloudquery/setup-cloudquery@v3
70+
uses: cloudquery/setup-cloudquery@v4
6471
with:
65-
version: v5.20.3
72+
version: v6.15.1
6673

6774
- name: Parse and validate semver tag
6875
id: semver-tag

.github/workflows/test.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
name: "Unit tests"
2+
3+
permissions:
4+
contents: read
5+
26
on:
37
push:
48
branches:

.goreleaser.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
version: 2
2+
13
before:
24
hooks:
35
- "go mod download"
@@ -21,9 +23,11 @@ builds:
2123
- goos: windows
2224
goarch: arm64
2325

26+
sboms:
27+
- artifacts: archive
28+
2429
archives:
25-
- format: zip
26-
name_template: "{{ .Binary }}_{{ .Os }}_{{ .Arch }}"
30+
- formats: ["zip"]
2731

2832
checksum:
2933
name_template: "checksums.txt"

.mapping.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"":"security/cloudquery/cq-source-yc",
23
".":"security/cloudquery/github_toplevel/cq-source-yc",
34
".github/workflows/lint.yml":"security/cloudquery/github_toplevel/cq-source-yc/.github/workflows/lint.yml",
45
".github/workflows/release.yml":"security/cloudquery/github_toplevel/cq-source-yc/.github/workflows/release.yml",
@@ -7,7 +8,7 @@
78
".goreleaser.yaml":"security/cloudquery/github_toplevel/cq-source-yc/.goreleaser.yaml",
89
"AUTHORS":"security/cloudquery/github_toplevel/cq-source-yc/AUTHORS",
910
"CHANGELOG.md":"security/cloudquery/github_toplevel/cq-source-yc/CHANGELOG.md",
10-
"CONTRIBUTING":"security/cloudquery/github_toplevel/cq-source-yc/CONTRIBUTING",
11+
"CONTRIBUTING.md":"security/cloudquery/github_toplevel/cq-source-yc/CONTRIBUTING.md",
1112
"LICENSE":"security/cloudquery/github_toplevel/cq-source-yc/LICENSE",
1213
"Makefile":"security/cloudquery/cq-source-yc/Makefile",
1314
"README.md":"security/cloudquery/cq-source-yc/README.md",
@@ -212,7 +213,7 @@
212213
"security/cloudquery/github_toplevel/cq-source-yc/.goreleaser.yaml":"security/cloudquery/github_toplevel/cq-source-yc/.goreleaser.yaml",
213214
"security/cloudquery/github_toplevel/cq-source-yc/AUTHORS":"security/cloudquery/github_toplevel/cq-source-yc/AUTHORS",
214215
"security/cloudquery/github_toplevel/cq-source-yc/CHANGELOG.md":"security/cloudquery/github_toplevel/cq-source-yc/CHANGELOG.md",
215-
"security/cloudquery/github_toplevel/cq-source-yc/CONTRIBUTING":"security/cloudquery/github_toplevel/cq-source-yc/CONTRIBUTING",
216+
"security/cloudquery/github_toplevel/cq-source-yc/CONTRIBUTING.md":"security/cloudquery/github_toplevel/cq-source-yc/CONTRIBUTING.md",
216217
"security/cloudquery/github_toplevel/cq-source-yc/LICENSE":"security/cloudquery/github_toplevel/cq-source-yc/LICENSE",
217218
"security/cloudquery/github_toplevel/cq-source-yc/README.md":"security/cloudquery/github_toplevel/cq-source-yc/README.md",
218219
"test/config.yaml":"security/cloudquery/cq-source-yc/test/config.yaml"

AUTHORS

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,6 @@ Danil Beltyukov
1010
Gennady Lipenkov
1111
Roman Mingazeev
1212
Valentin Kiel
13-
Yevgeny Pats
13+
Yevgeny Pats
14+
15+
More contributors available here: https://github.com/yandex-cloud/cq-source-yc/graphs/contributors

CONTRIBUTING renamed to CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ If you agree with these principles, please read and adopt our CLA. By providing
1818

1919
## Provide contributions
2020

21-
If you have already adopted terms and conditions of the CLA, you are able to provide your contributions. When you submit your pull request, please add the following information into it:
21+
If you have already adopted terms and conditions of the CLA, you are able to provide your contributions. When you submit your pull request, please add the following information into it (in a separate comment):
2222

2323
```
2424
I hereby agree to the terms of the CLA available at: [link].

go.mod

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
module github.com/yandex-cloud/cq-source-yc
22

3-
go 1.22.0
4-
5-
toolchain go1.22.5
3+
go 1.22.5
64

75
require (
86
github.com/apache/arrow/go/v17 v17.0.0

0 commit comments

Comments
 (0)