From 86f34968685552f0993747630ba5be1ab2f3e3cd Mon Sep 17 00:00:00 2001 From: PrometheusBot Date: Mon, 23 Sep 2024 16:02:05 +0200 Subject: [PATCH] Update common Prometheus files (#1628) Signed-off-by: prombot --- Makefile.common | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile.common b/Makefile.common index 34d65bb..cbb5d86 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