Skip to content

Commit 6b5fe68

Browse files
committed
try unset GOOS and GOARCH
1 parent e6fb9cd commit 6b5fe68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ lint-go-windows:
386386
.PHONY: lint-go-gitea-vet
387387
lint-go-gitea-vet: ## lint go files with gitea-vet
388388
@echo "Running gitea-vet..."
389-
@$(GO) vet -vettool="$(shell go tool -n gitea-vet)" ./...
389+
@$(GO) vet -vettool="$(shell GOOS= GOARCH= go tool -n gitea-vet)" ./...
390390

391391
.PHONY: lint-go-gopls
392392
lint-go-gopls: ## lint go files with gopls

0 commit comments

Comments
 (0)