From a47076a10cb4c33e7b835c4b1edb76193efa948e Mon Sep 17 00:00:00 2001 From: logikonline Date: Fri, 9 Jan 2026 16:30:45 -0500 Subject: [PATCH] fix: unset GOEXPERIMENT for golangci-lint MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit golangci-lint v2.7.2 downloads Go 1.24.x which doesn't support GOEXPERIMENT=jsonv2 (only Go 1.25+ does). Unset GOEXPERIMENT when running the linter to avoid this incompatibility. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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