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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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: