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 700cc07 commit a2cd9deCopy full SHA for a2cd9de
Makefile
@@ -48,10 +48,12 @@ ifeq ($(SKIP_VULN),1)
48
@echo "==> skipping govulncheck (SKIP_VULN=1)"
49
else
50
@echo "==> vulnerability scan (govulncheck)"
51
- @$(GOTOOLCHAIN_ENV) $(GO) run golang.org/x/vuln/cmd/govulncheck@latest -os=linux -arch=amd64 $(PKGS) || \
+ @GOOS=$(or $(GOOS),linux) GOARCH=$(or $(GOARCH),amd64) \
52
+ $(GOTOOLCHAIN_ENV) $(GO) run golang.org/x/vuln/cmd/govulncheck@latest ./... || \
53
( echo "ERROR: govulncheck failed (likely network). Re-run with SKIP_VULN=1 to skip locally."; exit 1 )
54
endif
55
56
+
57
# -------- Build --------
58
.PHONY: build
59
build:
0 commit comments