From 12da5d320c2a27b5d9c9a5bbc427fd1b60b11db1 Mon Sep 17 00:00:00 2001 From: Aleksandr Razumov Date: Fri, 12 Jun 2026 21:48:50 +0300 Subject: [PATCH] ci: pin Go to 1.25.x across all workflows The golang group bump (#733) raised go.mod's directive to go 1.25.0, because golang.org/x/{sync,term,text,time} now require Go 1.25. The CI workflows still pinned 1.24.x (ci, coverage) and 1.21.x (lint, e2e) and only worked via setup-go's toolchain auto-download, which also breaks the coverage job ("go: no such tool covdata") and is incompatible with actions/setup-go v6 (GOTOOLCHAIN=local, #716). Pin every job to 1.25.x to match go.mod, fixing the coverage job and unblocking the setup-go v6 bump. Co-Authored-By: Claude Opus 4.8 --- .github/workflows/ci.yml | 8 ++++---- .github/workflows/coverage.yml | 2 +- .github/workflows/e2e.yml | 8 ++++---- .github/workflows/lint.yml | 6 +++--- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 59c29c0..4ccb9d6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,7 +16,7 @@ jobs: matrix: flags: [""] go: - - 1.24.x + - 1.25.x arch: - amd64 runner: @@ -24,16 +24,16 @@ jobs: - macos-latest include: - arch: 386 - go: 1.24.x + go: 1.25.x runner: ubuntu-latest - arch: amd64 runner: windows-latest - go: 1.24.x + go: 1.25.x flags: "-p=1" - arch: amd64 - go: 1.24.x + go: 1.25.x runner: ubuntu-latest flags: "-race" steps: diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 0162605..4c5ec8e 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -14,7 +14,7 @@ jobs: - name: Install Go uses: actions/setup-go@v5.5.0 with: - go-version: 1.24.x + go-version: 1.25.x cache: false - name: Get Go environment diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 781f862..c7b21dd 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -25,7 +25,7 @@ jobs: - name: Install Go uses: actions/setup-go@v5.5.0 with: - go-version: 1.21.x + go-version: 1.25.x cache: false - name: Get Go environment @@ -66,7 +66,7 @@ jobs: - name: Install Go uses: actions/setup-go@v5.5.0 with: - go-version: 1.21.x + go-version: 1.25.x cache: false - name: Get Go environment @@ -101,7 +101,7 @@ jobs: - name: Install Go uses: actions/setup-go@v5.5.0 with: - go-version: 1.21.x + go-version: 1.25.x cache: false - name: Get Go environment @@ -147,7 +147,7 @@ jobs: - name: Install Go uses: actions/setup-go@v5.5.0 with: - go-version: 1.21.x + go-version: 1.25.x cache: false - name: Get Go environment diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 7856af0..8405eb7 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -18,7 +18,7 @@ jobs: - name: Install Go uses: actions/setup-go@v5.5.0 with: - go-version: 1.21.x + go-version: 1.25.x cache: false - name: Lint @@ -37,7 +37,7 @@ jobs: - name: Install Go uses: actions/setup-go@v5.5.0 with: - go-version: 1.21.x + go-version: 1.25.x cache: false - name: Get Go environment @@ -71,7 +71,7 @@ jobs: - name: Install Go uses: actions/setup-go@v5.5.0 with: - go-version: 1.21.x + go-version: 1.25.x cache: false - name: Get Go environment