From f38bae9614c4056dd1f9d96aba0474661b54bb5d Mon Sep 17 00:00:00 2001 From: prombot Date: Tue, 17 Sep 2024 17:48:07 +0000 Subject: [PATCH] Update common Prometheus files Signed-off-by: prombot --- Makefile.common | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile.common b/Makefile.common index 34d65bb5..cbb5d863 100644 --- a/Makefile.common +++ b/Makefile.common @@ -275,3 +275,9 @@ $(1)_precheck: exit 1; \ fi endef + +govulncheck: install-govulncheck + govulncheck ./... + +install-govulncheck: + command -v govulncheck > /dev/null || go install golang.org/x/vuln/cmd/govulncheck@latest