fix(lint): remove CGO_ENABLED=0 for lint and fix (#1989)

* fix(lint): remove CGO_ENABLED=0 for lint and fix

* fix makefile
This commit is contained in:
Luo Peng
2026-03-25 14:42:29 +08:00
committed by GitHub
parent aa9bd69f6e
commit 95204dbf17
+2 -2
View File
@@ -242,11 +242,11 @@ fmt:
## lint: Run linters
lint:
@CGO_ENABLED=0 $(GOLANGCI_LINT) run --build-tags $(GO_BUILD_TAGS)
@$(GOLANGCI_LINT) run --build-tags $(GO_BUILD_TAGS)
## fix: Fix linting issues
fix:
@CGO_ENABLED=0 $(GOLANGCI_LINT) run --fix --build-tags $(GO_BUILD_TAGS)
@$(GOLANGCI_LINT) run --fix --build-tags $(GO_BUILD_TAGS)
## deps: Download dependencies
deps: