From e7e0b5519de4484ac403a79a6d9b78648e473488 Mon Sep 17 00:00:00 2001 From: Aleksandr Razumov Date: Tue, 10 Nov 2026 06:06:52 +0300 Subject: [PATCH 1/2] ci: use stable Go toolchain x/net 0.61 and x/sync 0.24 require go 1.26; pinned 1.25 with GOTOOLCHAIN=local fails. --- .github/workflows/lint.yml | 4 ++-- .github/workflows/release.yml | 2 +- .github/workflows/test.yml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index b87d9d1..aea6762 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -18,7 +18,7 @@ jobs: - name: Install Go uses: actions/setup-go@v7.0.0 with: - go-version: "1.25" + go-version: stable - name: Lint uses: golangci/golangci-lint-action@v9.3.0 @@ -36,7 +36,7 @@ jobs: - name: Install Go uses: actions/setup-go@v7.0.0 with: - go-version: "1.25" + go-version: stable # setup-go provides module/build caching out of the box. - name: Download dependencies diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9812e77..3a78040 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,7 +21,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v7.0.0 with: - go-version: "1.25" + go-version: stable # setup-go caches the module and build caches by default (keyed on # go.sum), so the manual cache + set-output steps are no longer needed. diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9d7da0e..d9a7fb0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -18,7 +18,7 @@ jobs: - name: Install Go uses: actions/setup-go@v7.0.0 with: - go-version: "1.25" + go-version: stable # setup-go provides module/build caching out of the box. - name: Test From 343e355b5eb3302cc0ec018b7de8fed6d4d4f6d4 Mon Sep 17 00:00:00 2001 From: Aleksandr Razumov Date: Tue, 10 Nov 2026 06:18:41 +0300 Subject: [PATCH 2/2] ci: pin Go 1.26 for golangci-lint --- .github/workflows/lint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index aea6762..b378b2a 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -18,7 +18,7 @@ jobs: - name: Install Go uses: actions/setup-go@v7.0.0 with: - go-version: stable + go-version: "1.26" # golangci-lint v2.12 is built with go1.26 - name: Lint uses: golangci/golangci-lint-action@v9.3.0