🌱 chore: upgrade to go 1.26#441
Conversation
Updates go.mod, Dockerfile.build, and GitHub Actions workflow to use Go 1.26. Relates to: open-cluster-management-io/ocm#1555 Signed-off-by: Tesshu Flower <tflower@redhat.com>
|
Warning Review limit reached
More reviews will be available in 46 seconds. Learn how PR review limits work. Your organization has run out of usage credits. Purchase more credits in the billing tab to continue. ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (3)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
dhaiducek
left a comment
There was a problem hiding this comment.
LGTM! Thanks @tesshuflower!
|
@coderabbitai review |
✅ Action performedReview finished.
|
There was a problem hiding this comment.
Pull request overview
Upgrades this repository’s Go toolchain configuration to Go 1.26 across the module definition, CI workflow, and build container image.
Changes:
- Bump
go.modgo directive from1.25.0to1.26.0. - Update GitHub Actions CI to use Go
1.26. - Update the build Dockerfile’s Go download version to
1.26.0.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
go.mod |
Updates the module’s Go language/toolchain directive to 1.26.0. |
Dockerfile.build |
Updates the Go tarball version used in the build image to 1.26.0. |
.github/workflows/go.yml |
Updates CI to install and run against Go 1.26. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Address suggestions from Copilot review on PR open-cluster-management-io#441: - .github/workflows/go.yml: bump actions/checkout v3 -> v4 and actions/setup-go v3 -> v5 - Dockerfile.build: use curl -fsSLO instead of -LO to fail fast on HTTP errors (e.g. missing Go tarball returns 404 instead of downloading an error page) Signed-off-by: Tesshu Flower <tflower@redhat.com>
dhaiducek
left a comment
There was a problem hiding this comment.
I personally don't like a blanket commit that says "address suggestions". If you agree, could you make it more specific? In this case, probably separate it into two commits.
I guess I was trying to avoid too many commits so grouped them together? the commit details do explain exactly what the changes were - but you're right, it's not on the summary line. I've updated to split into 2 commits so easier to see in the 1 ilner what the changes are. |
- to fail fast on HTTP errors (e.g. missing Go tarball returns 404 instead of downloading an error page) Signed-off-by: Tesshu Flower <tflower@redhat.com>
- actions/checkout v3 -> v4 - actions/setup-go v3 -> v5 Signed-off-by: Tesshu Flower <tflower@redhat.com>
6c948de to
f7cffe7
Compare
dhaiducek
left a comment
There was a problem hiding this comment.
Thanks! Right, the summary/title is what I was poking at--your descriptions in the body were definitely spot on. Though now I see PRs are Squash merged rather than rebased, so maybe it doesn't matter quite so much since it all gets dumped into the body anyway. 😬
|
/approve |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dhaiducek, qiujian16, tesshuflower The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
1845fd8
into
open-cluster-management-io:main
Upgrades Go version from 1.25 to 1.26.
Changes:
go.mod— go directive updated to 1.26.0.github/workflows/go.yml— GO_VERSION updated to 1.26Dockerfile.build— GO_VERSION updated to 1.26.0Relates to: open-cluster-management-io/ocm#1555