From 95204dbf17451fbaf52551b87cc06530fc7d243a Mon Sep 17 00:00:00 2001 From: Luo Peng Date: Wed, 25 Mar 2026 14:42:29 +0800 Subject: [PATCH] fix(lint): remove CGO_ENABLED=0 for lint and fix (#1989) * fix(lint): remove CGO_ENABLED=0 for lint and fix * fix makefile --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 8ffadb4ef..0b09cf7f7 100644 --- a/Makefile +++ b/Makefile @@ -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: