Pin govulncheck to v0.0.0-20221208180742-f2dca5ff4cc3
go install golang.org/x/vuln/cmd/govulncheck@latest && govulncheck ./...
shell: /usr/bin/bash -e {0}
env:
GOROOT: /opt/hostedtoolcache/go/1.19.4/x64
go: golang.org/x/vuln/cmd/govulncheck@latest: no matching versions for query "latest"
@@ -10,4 +10,4 @@ jobs:
with:
go-version: "1.19.4"
- run: date
- - run: go install golang.org/x/vuln/cmd/govulncheck@latest && govulncheck ./...
+ - run: go install golang.org/x/vuln/cmd/govulncheck@v0.0.0-20221208180742-f2dca5ff4cc3 && govulncheck ./...
