From 16ee2bbf4cd7dc61b6920fc546b5e9d8e0dbbab1 Mon Sep 17 00:00:00 2001 From: Kir Kolyshkin Date: Mon, 15 Dec 2025 10:37:12 -0800 Subject: [PATCH] ci: use latest Go for modernize job Since we use modernize@latest, it may require latest Go as well (and now it does), so use "go-version: stable" explicitly (which resolves to latest Go). This fixes the issue with CI: > go: golang.org/x/tools/gopls/internal/analysis/modernize/cmd/modernize@latest: golang.org/x/tools/gopls@v0.21.0 requires go >= 1.25 (running go 1.24.11; GOTOOLCHAIN=local) Signed-off-by: Kir Kolyshkin --- .github/workflows/validate.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 0522874ba..037a9f72d 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -57,7 +57,7 @@ jobs: fetch-depth: 2 - uses: actions/setup-go@v6 with: - go-version: "${{ env.GO_VERSION }}" + go-version: stable # modernize@latest may require latest Go. - name: install deps run: | sudo apt -q update