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.
2 parents 7d82f35 + d7eba7f commit 75357ecCopy full SHA for 75357ec
Makefile
@@ -582,6 +582,13 @@ gofail-enable: install-gofail
582
gofail-disable: install-gofail
583
PASSES="toggle_failpoints" ./test.sh
584
585
+.PHONY: run-govulncheck
586
+run-govulncheck:
587
+ifeq (, $(shell which govulncheck))
588
+ $(shell go install golang.org/x/vuln/cmd/govulncheck@latest)
589
+endif
590
+ PASSES="govuln" ./test.sh
591
+
592
# Static analysis
593
594
.PHONY: verify
test.sh
@@ -434,6 +434,10 @@ function markdown_marker_pass {
434
fi
435
}
436
437
+function govuln_pass {
438
+ run_for_modules run govulncheck -show verbose
439
+}
440
441
function govet_pass {
442
run_for_modules generic_checker run go vet
443
0 commit comments