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

This commit is contained in:
RussellLuo 2026-03-25 14:29:18 +08:00
parent aa9bd69f6e
commit fbab00c608

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: