build: bump Go to 1.27 - #1244
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1244 +/- ##
==========================================
+ Coverage 50.83% 56.71% +5.87%
==========================================
Files 149 149
Lines 13874 12154 -1720
==========================================
- Hits 7053 6893 -160
+ Misses 6217 5260 -957
+ Partials 604 1 -603 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
c1ec30a to
a9b54b7
Compare
d6df189 to
f732ac8
Compare
There was a problem hiding this comment.
🟡 Changes recommended
The repo’s release workflow still pins Go 1.25.1 for the license-scan step, which will fail once go.mod requires Go 1.26.0.
Once you've addressed the issues Copilot identified, you can request another Copilot review.
Pull request overview
Updates the project’s minimum Go version and dependency graph to address security findings by upgrading golang.org/x/crypto, and aligns CI to build/test with the new Go baseline.
Changes:
- Bump
golang.org/x/cryptofromv0.55.0tov0.56.0(and regeneratego.sumentries). - Raise
go.modmodule directive fromgo 1.25.0togo 1.26.0. - Update CI workflow to install/use Go
1.26.x(formatting job and test matrix).
File summaries
| File | Description |
|---|---|
| go.mod | Raises module Go version to 1.26.0 and bumps golang.org/x/crypto to v0.56.0. |
| go.sum | Updates checksums to match the new golang.org/x/crypto v0.56.0 version. |
| .github/workflows/ci.yml | Aligns CI setup-go usage and the test matrix to Go 1.26.x. |
Review details
- Files reviewed: 2/3 changed files
- Comments generated: 1
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
dc6f54d to
e974e08
Compare
There was a problem hiding this comment.
🟢 Approval recommended
Changes are straightforward dependency/toolchain updates with CI/docs alignment, and the only feedback is a non-blocking maintainability improvement.
Review details
- Files reviewed: 6/7 changed files
- Comments generated: 1
- Review effort level: Lite
e974e08 to
892a2fa
Compare
892a2fa to
a710855
Compare
Aligns the module directive and CI with the golang:1.27-alpine image the Docker build already uses. Brings golang.org/x/crypto to 0.56.0 along, which needs Go >= 1.26.
a710855 to
fbb1fc8
Compare
fbb1fc8 to
fc02e2b
Compare
961a5fb to
191967b
Compare
|
🎉 This PR is included in version 1.40.1 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
Summary
Bumps the module and CI to Go 1.27, aligning with the
golang:1.27-alpineimage the Docker build already uses. Thegolang.org/x/crypto0.56.0 update comes along (it requires Go >= 1.26).Changes
go.mod:go 1.25.0->1.27.0(andx/crypto v0.55.0->v0.56.0).github/workflows/ci.yml: test matrix1.25.x->1.27.x.github/workflows/release.yml: license-scan1.25.1->1.27.xREADME.md/CLAUDE.md/copilot-instructions.md: Go note -> 1.27+