Add support for running govulncheck (#12654)

* Add support for running govulncheck

---------

Signed-off-by: 51n15t9r <utkarsh.khare@gmail.com>
pull/14849/head
51n15t9r 2 months ago committed by GitHub
parent 6acd3dee53
commit b6015e7c73
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -275,3 +275,9 @@ $(1)_precheck:
exit 1; \ exit 1; \
fi fi
endef endef
govulncheck: install-govulncheck
govulncheck ./...
install-govulncheck:
command -v govulncheck > /dev/null || go install golang.org/x/vuln/cmd/govulncheck@latest

Loading…
Cancel
Save