Let govulncheck@latest fetch a newer Go toolchain.
CI / check-and-test (pull_request) Failing after 24s
CI / check-and-test (pull_request) Failing after 24s
CI was dying on: golang.org/x/vuln@v1.7.0 requires go >= 1.25.0 (running go 1.23.0; GOTOOLCHAIN=local).
This commit is contained in:
@@ -21,7 +21,7 @@ jobs:
|
||||
with:
|
||||
version: latest
|
||||
args: --timeout=5m
|
||||
- run: go install golang.org/x/vuln/cmd/govulncheck@latest
|
||||
- run: GOTOOLCHAIN=auto go install golang.org/x/vuln/cmd/govulncheck@latest
|
||||
- run: govulncheck ./...
|
||||
- run: go test -race -v -shuffle=on -coverprofile=coverage.out -timeout=5m ./...
|
||||
- run: go tool cover -func=coverage.out | tail -10 # basic coverage report
|
||||
|
||||
Reference in New Issue
Block a user