Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump Go version to 1.22.11 #6066

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

y1hao
Copy link

@y1hao y1hao commented Jan 19, 2025

What type of PR is this?

/kind cleanup

What this PR does / why we need it:

Bump Go version to latest 1.22 release.

Which issue(s) this PR fixes:
Fixes #6063

Special notes for your reviewer:

Does this PR introduce a user-facing change?:

Karmada now built with Golang v1.22.11.

@karmada-bot karmada-bot added the kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. label Jan 19, 2025
@karmada-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign xishanyongye-chang for approval. For more information see the Kubernetes Code Review Process.

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

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

@karmada-bot
Copy link
Collaborator

Welcome @y1hao! It looks like this is your first PR to karmada-io/karmada 🎉

@karmada-bot karmada-bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Jan 19, 2025
@@ -37,7 +37,7 @@ KARMADA_METRICS_ADAPTER_LABEL="karmada-metrics-adapter"

KARMADA_GO_PACKAGE="github.com/karmada-io/karmada"

MIN_Go_VERSION=go1.22.9
MIN_Go_VERSION=go1.22.11
Copy link
Author

@y1hao y1hao Jan 19, 2025

Choose a reason for hiding this comment

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

  1. The casing is a bit weird - should it be MIN_GO_VERSION? Maybe I can change it in a separate PR?
  2. Is this version always in sync with the versions in .go-version and go.mod? How about just reading it from .go-version? Actually, I think this can work: MIN_GO_VERSION="go$(go list -m -f {{.GoVersion}})"

@y1hao
Copy link
Author

y1hao commented Jan 19, 2025

The 2 failing unit tests in CI in membercluster_client_test.go don't seem to be related to this change. When I run them locally they pass. Are they flaky?

Signed-off-by: Yihao Wang <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bump Golang version to v1.22.11
2 participants