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:
parent
b59ed41e81
commit
b4dc080c96
1 changed files with 1 additions and 1 deletions
2
Makefile
2
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)
|
||||
|
|
Loading…
Reference in a new issue