diff --git a/Makefile b/Makefile index ee75906b7f..081f160f34 100644 --- a/Makefile +++ b/Makefile @@ -377,11 +377,11 @@ lint-spell-fix: ## lint spelling and fix issues .PHONY: lint-go lint-go: ## lint go files - $(GO) run $(GOLANGCI_LINT_PACKAGE) run + GOEXPERIMENT= $(GO) run $(GOLANGCI_LINT_PACKAGE) run .PHONY: lint-go-fix lint-go-fix: ## lint go files and fix issues - $(GO) run $(GOLANGCI_LINT_PACKAGE) run --fix + GOEXPERIMENT= $(GO) run $(GOLANGCI_LINT_PACKAGE) run --fix # workaround step for the lint-go-windows CI task because 'go run' can not # have distinct GOOS/GOARCH for its build and run steps