File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,6 +9,8 @@ concurrency:
99 group : ${{ github.workflow }}-${{ github.ref }}
1010 cancel-in-progress : true
1111
12+ env :
13+ GOTOOLCHAIN : auto
1214jobs :
1315
1416 test-makefile :
2022 fetch-depth : 0
2123 - uses : actions/setup-go@v6
2224 with :
23- go-version : " 1.25"
25+ go-version : ' stable'
26+ check-latest : true
2427 cache : true
2528 - name : Install dependencies
2629 run : |
@@ -46,10 +49,16 @@ jobs:
4649 steps :
4750 - name : Check out repository
4851 uses : actions/checkout@v6
52+ - name : Set up GO
53+ uses : actions/setup-go@v6
54+ with :
55+ go-version : ' stable'
56+ check-latest : true
57+ cache : true
4958 - name : Install dependencies
5059 run : |
5160 dnf update -y
52- dnf install -y golang make tar diffutils bzip2 gzip curl git which
61+ dnf install -y make tar diffutils bzip2 gzip curl git which
5362 - name : Mark repo as safe for git
5463 run : git config --global --add safe.directory $GITHUB_WORKSPACE
5564 - name : Build and test
@@ -107,7 +116,8 @@ jobs:
107116 uses : actions/checkout@v6
108117 - uses : actions/setup-go@v6
109118 with :
110- go-version : " 1.25"
119+ go-version : ' stable'
120+ check-latest : true
111121 cache : true
112122 - name : Install dependencies
113123 run : |
Original file line number Diff line number Diff line change 77
88permissions :
99 contents : write
10-
10+ env :
11+ GOTOOLCHAIN : auto
1112jobs :
1213 goreleaser :
1314 runs-on : ubuntu-latest
2021 - name : Set up Go
2122 uses : actions/setup-go@v5
2223 with :
23- go-version : ' 1.26.1'
24+ go-version : ' stable'
25+ check-latest : true
2426
2527 - name : Run GoReleaser
2628 uses : goreleaser/goreleaser-action@v7
Original file line number Diff line number Diff line change 77 branches : [ main ]
88 schedule :
99 - cron : ' 0 6 * * *'
10-
10+ env :
11+ GOTOOLCHAIN : auto
1112jobs :
1213 vulnerability-scan :
1314 name : Vulnerability Scanning
1920 - name : Set up Go
2021 uses : actions/setup-go@v6
2122 with :
22- go-version : ' 1.25'
23+ go-version : ' stable'
24+ check-latest : true
2325
2426 - name : Install govulncheck
2527 run : go install golang.org/x/vuln/cmd/govulncheck@latest
4749 - name : Set up Go
4850 uses : actions/setup-go@v6
4951 with :
50- go-version : ' 1.25'
52+ go-version : ' stable'
53+ check-latest : true
5154
5255 - name : Initialize CodeQL
5356 uses : github/codeql-action/init@v4
Original file line number Diff line number Diff line change 11module github.com/containers/tar-diff
22
3- go 1.25
3+ go 1.26
4+
5+ toolchain go1.26.2
46
57require (
68 github.com/containers/image/v5 v5.36.2
You can’t perform that action at this time.
0 commit comments