From b4dc080c96a746e00f4b7d6746b4485b1ed8b577 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Tue, 19 Jan 2021 09:56:10 +0800 Subject: [PATCH] It seems vet on windows is unnecessary (#14302) * It seems vet on windows is unnecessary * add vet back to drone but remove GOOS and GOARCH when build vet --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index dc8faf817d..4e03581785 100644 --- a/Makefile +++ b/Makefile @@ -232,7 +232,7 @@ fmt: vet: @echo "Running go vet..." @$(GO) vet $(GO_PACKAGES) - @$(GO) build -mod=vendor code.gitea.io/gitea-vet + @GOOS= GOARCH= $(GO) build -mod=vendor code.gitea.io/gitea-vet @$(GO) vet -vettool=gitea-vet $(GO_PACKAGES) .PHONY: $(TAGS_EVIDENCE)