File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed
Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -20,11 +20,11 @@ jobs:
2020 - name : Checkout
2121 uses : actions/checkout@v6
2222
23- # Always use the latest stable Go release for the newest compiler and stdlib fixes .
23+ # Go version is read from go.mod so it stays in sync with the project .
2424 - name : Set up Go
2525 uses : actions/setup-go@v6
2626 with :
27- go-version : ' stable '
27+ go-version-file : go.mod
2828
2929 # Verify dependency checksums match go.sum (detects corrupted or tampered modules).
3030 - name : Verify dependencies
4848 - name : Set up Go
4949 uses : actions/setup-go@v6
5050 with :
51- go-version : ' stable '
51+ go-version-file : go.mod
5252
5353 - name : Run go vet
5454 run : go vet ./...
7272 - name : Set up Go
7373 uses : actions/setup-go@v6
7474 with :
75- go-version : ' stable '
75+ go-version-file : go.mod
7676
7777 - name : Build
7878 run : go build -o /dev/null .
Original file line number Diff line number Diff line change @@ -24,13 +24,13 @@ jobs:
2424
2525 - uses : actions/setup-go@v6
2626 with :
27- go-version : ' stable '
27+ go-version-file : go.mod
2828
2929 # golang/govulncheck-action runs govulncheck against all packages (./...).
3030 # With the default text output format, the job fails if vulnerabilities are found.
3131 - uses : golang/govulncheck-action@v1
3232 with :
33- go-version-input : ' stable '
33+ go-version-file : go.mod
3434
3535 # Open a GitHub issue when the scheduled scan finds vulnerabilities.
3636 # Only runs on cron failures — PR and push failures are visible in the checks UI.
Original file line number Diff line number Diff line change @@ -21,11 +21,11 @@ jobs:
2121 with :
2222 fetch-depth : 0
2323
24- # Always use the latest stable Go release for the newest compiler and stdlib fixes .
24+ # Go version is read from go.mod so it stays in sync with the project .
2525 - name : Set up Go
2626 uses : actions/setup-go@v6
2727 with :
28- go-version : ' stable '
28+ go-version-file : go.mod
2929
3030 # GoReleaser builds, packages and publishes the release.
3131 # See .goreleaser.yml for build targets and packaging configuration.
You can’t perform that action at this time.
0 commit comments