Fix CI Go version matrix to match go.mod#24
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
1.26(was1.21–1.25).ci.ymlduplicate.Why
go.moddeclaresgo 1.26.0, but.github/workflows/ci.ymlran 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.ymlwas 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 buildpass locally on Go 1.26.🤖 Generated with Claude Code