We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e3a0c49 commit 1be3fd4Copy full SHA for 1be3fd4
.drone.yml
@@ -37,7 +37,7 @@ steps:
37
pull: always
38
image: golang:1.15
39
commands:
40
- - make golangci-lint
+ - make golangci-lint vet
41
environment:
42
GOPROXY: https://goproxy.cn # proxy.golang.org is blocked in China, this proxy is not
43
GOSUMDB: sum.golang.org
Makefile
@@ -232,7 +232,7 @@ fmt:
232
vet:
233
@echo "Running go vet..."
234
@$(GO) vet $(GO_PACKAGES)
235
- @$(GO) build -mod=vendor code.gitea.io/gitea-vet
+ @GOOS= GOARCH= $(GO) build -mod=vendor code.gitea.io/gitea-vet
236
@$(GO) vet -vettool=gitea-vet $(GO_PACKAGES)
237
238
.PHONY: $(TAGS_EVIDENCE)
0 commit comments