We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15e8b41 commit b1a881eCopy full SHA for b1a881e
Makefile
@@ -194,9 +194,6 @@ endif
194
195
.PHONY: run-govulncheck
196
run-govulncheck:
197
-ifeq (, $(shell command -v govulncheck))
198
- $(shell go install golang.org/x/vuln/cmd/govulncheck@latest)
199
-endif
200
PASSES="govuln" ./scripts/test.sh
201
202
# Tools
scripts/test.sh
@@ -398,7 +398,9 @@ function markdown_marker_pass {
398
}
399
400
function govuln_pass {
401
- run_for_modules run govulncheck -show verbose
+ local version
402
+ version=$(cd tools/mod && go list -m -f '{{.Version}}' golang.org/x/vuln)
403
+ run_for_modules run_go_tool "golang.org/x/vuln/cmd/govulncheck@${version}" -show verbose
404
405
406
function govet_pass {
0 commit comments