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 authored and GitHub committed 2026-03-25 14:42:29 +08:00
1 parent aa9bd69f6e
commit 95204dbf17
1 file changed
+2 -2
+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: