Skip to content

🌱 chore: upgrade to go 1.26#558

Merged
openshift-merge-bot[bot] merged 1 commit into
open-cluster-management-io:mainfrom
tesshuflower:ocm-1555-golang-1.26
Jul 2, 2026
Merged

🌱 chore: upgrade to go 1.26#558
openshift-merge-bot[bot] merged 1 commit into
open-cluster-management-io:mainfrom
tesshuflower:ocm-1555-golang-1.26

Conversation

@tesshuflower

@tesshuflower tesshuflower commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

Upgrades Go version from 1.25 to 1.26.

Changes:

  • go.mod — go directive updated to 1.26.0
  • .github/workflows/tests.yaml — GO_VERSION updated to 1.26
  • .github/workflows/release.yaml — GO_VERSION updated to 1.26
  • .github/workflows/ocm.yml — GO_VERSION updated to 1.26

Relates to: open-cluster-management-io/ocm#1555

Summary by CodeRabbit

  • Chores
    • Updated Go toolchain version from 1.25 to 1.26 across all build and deployment pipelines to ensure compatibility with the latest Go release.

@coderabbitai

coderabbitai Bot commented Jun 15, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 1b1b2361-b12f-4ad5-8081-14ca605d8964

📥 Commits

Reviewing files that changed from the base of the PR and between bd2d874 and cc42cfe.

📒 Files selected for processing (4)
  • .github/workflows/ocm.yml
  • .github/workflows/release.yaml
  • .github/workflows/tests.yaml
  • go.mod

Walkthrough

The Go toolchain version is bumped from 1.25 to 1.26 across the repository. The go directive in go.mod is updated to 1.26.0, and the GO_VERSION environment variable is updated to 1.26 in the ocm.yml, release.yaml, and tests.yaml GitHub Actions workflows.

Changes

Go 1.26 Toolchain Bump

Layer / File(s) Summary
go.mod and CI workflow Go version update
go.mod, .github/workflows/ocm.yml, .github/workflows/release.yaml, .github/workflows/tests.yaml
go.mod toolchain directive updated from 1.25.0 to 1.26.0; GO_VERSION environment variable updated from 1.25 to 1.26 in all three CI workflows.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Possibly related issues

Possibly related PRs

Suggested labels

approved, lgtm

Suggested reviewers

  • ycyaoxdu
  • zhujian7
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely describes the main change: upgrading Go to version 1.26. It uses the appropriate emoji prefix (:seedling:) and follows the repository's naming conventions.
Description check ✅ Passed The description includes a clear summary, lists all affected files with specific changes, and references a related issue. While the template's 'Related issue(s)' section could use the 'Fixes #' format, the description adequately conveys the PR's purpose and scope.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Upgrades Go version from 1.25 to 1.26.

Changes:
- go.mod — go directive updated to 1.26.0
- .github/workflows/tests.yaml — GO_VERSION updated to 1.26
- .github/workflows/release.yaml — GO_VERSION updated to 1.26
- .github/workflows/ocm.yml — GO_VERSION updated to 1.26

Relates to: open-cluster-management-io/ocm#1555

Signed-off-by: Tesshu Flower <tflower@redhat.com>
@tesshuflower tesshuflower force-pushed the ocm-1555-golang-1.26 branch from aac4f57 to cc42cfe Compare June 22, 2026 14:31
@tesshuflower tesshuflower marked this pull request as ready for review June 22, 2026 16:53
@openshift-ci openshift-ci Bot requested review from TylerGillson and ycyaoxdu June 22, 2026 16:53

@dhaiducek dhaiducek left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@openshift-ci

openshift-ci Bot commented Jul 2, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dhaiducek, tesshuflower, TylerGillson

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci Bot added the approved label Jul 2, 2026
@openshift-merge-bot openshift-merge-bot Bot merged commit b75b40c into open-cluster-management-io:main Jul 2, 2026
9 checks passed
@tesshuflower tesshuflower deleted the ocm-1555-golang-1.26 branch July 2, 2026 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants