Skip to content

Fix CI Go version matrix to match go.mod#24

Merged
jenting merged 1 commit into
mainfrom
fix/ci-go-version-matrix
Jun 11, 2026
Merged

Fix CI Go version matrix to match go.mod#24
jenting merged 1 commit into
mainfrom
fix/ci-go-version-matrix

Conversation

@jenting

@jenting jenting commented Jun 11, 2026

Copy link
Copy Markdown
Member

Summary

  • Pin the CI Go version matrix to 1.26 (was 1.211.25).
  • Remove the stray root-level ci.yml duplicate.

Why

go.mod declares go 1.26.0, but .github/workflows/ci.yml ran the build/test against Go 1.21–1.25. Those toolchains reject a module requiring 1.26.0, so every CI job was failing. Pinning the matrix to 1.26 aligns CI with the module's required version.

The root-level ci.yml was a duplicate of the workflow. GitHub Actions only reads workflows under .github/workflows/, so that copy never executed and had already drifted out of sync (it even listed a different matrix). Removing it avoids confusion.

Testing

  • make test / make build pass locally on Go 1.26.

🤖 Generated with Claude Code

The workflow built against Go 1.21-1.25, but go.mod declares `go 1.26.0`.
Those toolchains reject the module, so every CI job was failing. Pin the
matrix to 1.26 to match the module's required version.

Also remove the stray root-level ci.yml: GitHub Actions only reads
workflows under .github/workflows/, so that duplicate never ran and just
drifted out of sync with the real workflow.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@jenting jenting merged commit cc9ca85 into main Jun 11, 2026
2 checks passed
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