Skip to content

ci: pin Go to 1.25.x across all workflows#739

Merged
ernado merged 1 commit into
masterfrom
fix/ci-go-version
Jun 12, 2026
Merged

ci: pin Go to 1.25.x across all workflows#739
ernado merged 1 commit into
masterfrom
fix/ci-go-version

Conversation

@ernado

@ernado ernado commented Jun 12, 2026

Copy link
Copy Markdown
Member

Summary

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. However the CI workflows still pin older Go:

  • ci.yml (test matrix) and coverage.yml: 1.24.x
  • lint.yml (golangci-lint, check-mod, check-generate) and e2e.yml (vault, redis, s3, tg_io): 1.21.x

These only build because actions/setup-go@v5 auto-downloads the 1.25 toolchain on demand. That has two problems:

  1. The coverage job fails with go: no such tool "covdata" because of the toolchain switch.
  2. actions/setup-go@v6 (chore(deps): bump actions/setup-go from 5.5.0 to 6.4.0 #716) sets GOTOOLCHAIN=local, disabling the auto-download, so every job would fail with go.mod requires go >= 1.25.0.

This pins every job to 1.25.x to match go.mod, fixing the coverage job and unblocking the setup-go v6 bump.

Test plan

  • All CI jobs (test matrix, coverage, lint, e2e) run on Go 1.25.x and pass.

🤖 Generated with Claude Code

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 <noreply@anthropic.com>
@ernado ernado force-pushed the fix/ci-go-version branch from 13ed2ee to 12da5d3 Compare June 12, 2026 19:02
@ernado ernado changed the title ci: bump go-version to 1.24.x in lint and e2e workflows ci: pin Go to 1.25.x across all workflows Jun 12, 2026
@ernado ernado merged commit 31f88e6 into master Jun 12, 2026
15 checks passed
@ernado ernado deleted the fix/ci-go-version branch June 12, 2026 19:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant