From 9c25c88542983196db45c0ab89aab3f7d6b74446 Mon Sep 17 00:00:00 2001 From: Mechiel Lukkien Date: Sat, 22 Jul 2023 14:02:05 +0200 Subject: [PATCH] reinstate go vet ./... --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 541093d..c867def 100644 --- a/Makefile +++ b/Makefile @@ -3,6 +3,7 @@ default: build build: # build early to catch syntax errors CGO_ENABLED=0 go build + CGO_ENABLED=0 go vet ./... CGO_ENABLED=0 go vet -tags integration CGO_ENABLED=0 go vet -tags quickstart ./gendoc.sh @@ -26,7 +27,7 @@ check: staticcheck ./... staticcheck -tags integration staticcheck -tags quickstart - GOARCH=386 CGO_ENABLED=0 go vet -tags integration ./... + GOARCH=386 CGO_ENABLED=0 go vet ./... # having "err" shadowed is common, best to not have others check-shadow: