0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-22 11:44:20 +01:00

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
This commit is contained in:
Lunny Xiao 2021-01-19 09:56:10 +08:00 committed by GitHub
parent b59ed41e81
commit b4dc080c96
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)