From 5bb06851b8dc83d241f50cf34096dd5fb69be443 Mon Sep 17 00:00:00 2001 From: logikonline Date: Fri, 9 Jan 2026 16:43:06 -0500 Subject: [PATCH] fix: use Go 1.25 in CI workflows MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Updated GO_VERSION from 1.23 to 1.25 in both build.yml and pr-checks.yml. Reverted Makefile lint targets to use default settings since Go 1.25 supports GOEXPERIMENT=jsonv2. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- .gitea/workflows/build.yml | 2 +- .gitea/workflows/pr-checks.yml | 2 +- Makefile | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 0c78d68aff..d8ad374fe6 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -13,7 +13,7 @@ on: env: GOPROXY: https://proxy.golang.org,direct - GO_VERSION: "1.23" + GO_VERSION: "1.25" NODE_VERSION: "22" jobs: diff --git a/.gitea/workflows/pr-checks.yml b/.gitea/workflows/pr-checks.yml index 9ca80458f0..955b250726 100644 --- a/.gitea/workflows/pr-checks.yml +++ b/.gitea/workflows/pr-checks.yml @@ -8,7 +8,7 @@ on: env: GOPROXY: https://proxy.golang.org,direct - GO_VERSION: "1.23" + GO_VERSION: "1.25" NODE_VERSION: "22" jobs: diff --git a/Makefile b/Makefile index 72085cd711..ee75906b7f 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 - GOEXPERIMENT= GOTOOLCHAIN=local $(GO) run $(GOLANGCI_LINT_PACKAGE) run + $(GO) run $(GOLANGCI_LINT_PACKAGE) run .PHONY: lint-go-fix lint-go-fix: ## lint go files and fix issues - GOEXPERIMENT= GOTOOLCHAIN=local $(GO) run $(GOLANGCI_LINT_PACKAGE) run --fix + $(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