Skip to content

Commit 56311d9

Browse files
committed
clean up ci and update go to 1.25
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
1 parent 83bf1f6 commit 56311d9

File tree

4 files changed

+30
-6
lines changed

4 files changed

+30
-6
lines changed

.github/workflows/docs.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
name: github pages
2-
permissions:
3-
contents: write
2+
43
on:
54
push:
65
paths:
@@ -9,9 +8,15 @@ on:
98
branches:
109
- main # Set a branch to deploy
1110

11+
permissions: {}
12+
1213
jobs:
1314
deploy:
1415
runs-on: ubuntu-latest
16+
17+
permissions:
18+
contents: write
19+
1520
steps:
1621
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1722
with:

.github/workflows/release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ on:
55
tags:
66
- 'v*'
77

8+
permissions: {}
9+
810
jobs:
911
release:
1012
runs-on: ubuntu-latest
@@ -22,8 +24,9 @@ jobs:
2224

2325
- uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0
2426
with:
25-
go-version: '1.24'
27+
go-version: '1.25'
2628
check-latest: true
29+
cache: false
2730

2831
- name: Install cosign
2932
uses: sigstore/cosign-installer@dc72c7d5c4d10cd6bcb8cf6e3fd625a9e5e537da # v3.7.0

.github/workflows/snapshot.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,27 @@ on:
55
branches:
66
- 'main'
77
pull_request:
8+
branches:
9+
- 'main'
10+
11+
permissions: {}
812

913
jobs:
1014
snapshot:
1115
runs-on: ubuntu-latest
1216

17+
permissions:
18+
contents: read
19+
1320
steps:
1421
- name: Check out code onto GOPATH
1522
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1623

1724
- uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0
1825
with:
19-
go-version: '1.24'
26+
go-version: '1.25'
2027
check-latest: true
28+
cache: false
2129

2230
- name: Install GoReleaser
2331
uses: goreleaser/goreleaser-action@9ed2f89a662bf1735a48bc8557fd212fa902bebf # v6.1.0

.github/workflows/verify-spdx.yaml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,25 @@ name: Validate SPDX Conformance
22

33
on:
44
pull_request:
5-
branches: ['main']
5+
branches:
6+
- 'main'
7+
8+
permissions: {}
69

710
jobs:
811
check-spdx:
912
name: Check SPDX SBOMs
1013
runs-on: ubuntu-latest
14+
15+
permissions:
16+
contents: read
17+
1118
steps:
1219
- uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v3.3.0
1320
with:
14-
go-version: '1.24'
21+
go-version: '1.25'
1522
check-latest: true
23+
cache: false
1624

1725
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1826
- run: |

0 commit comments

Comments
 (0)