Skip to content

[v3 backport] chore: Update Golang to v1.24#30771

Merged
mattfarina merged 1 commit intohelm:dev-v3from
dongjiang1989:backport-30677-to-dev-v3
Apr 18, 2025
Merged

[v3 backport] chore: Update Golang to v1.24#30771
mattfarina merged 1 commit intohelm:dev-v3from
dongjiang1989:backport-30677-to-dev-v3

Conversation

@dongjiang1989
Copy link
Copy Markdown
Contributor

What this PR does / why we need it:

Backport #30677 to dev v3

Special notes for your reviewer:

If applicable:

  • this PR contains user facing changes (the docs needed label should be applied if so)
  • this PR contains unit tests
  • this PR has been tested for backwards compatibility

Signed-off-by: dongjiang <dongjiang1989@126.com>
@pull-request-size pull-request-size bot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Apr 18, 2025
@dongjiang1989
Copy link
Copy Markdown
Contributor Author

cc @scottrigby

@dongjiang1989 dongjiang1989 changed the title [v3 backport] chore: Update Golang to v1.24 Backport 30677 to dev v3 [v3 backport] chore: Update Golang to v1.24 Apr 18, 2025
Copy link
Copy Markdown
Member

@scottrigby scottrigby left a comment

Choose a reason for hiding this comment

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

Question about golangci-lint version. All CI passes still. Otherwise LGTM

@@ -0,0 +1,2 @@
GOLANG_VERSION=1.24
GOLANGCI_LINT_VERSION=v1.64
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.

I noticed this doesn't match the the golangci-lint version from #30677

Do you also want to bring 5cb8335 into this PR?

Suggested change
GOLANGCI_LINT_VERSION=v1.64
GOLANGCI_LINT_VERSION=v2.0.2

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

@scottrigby main has merged in #30752. This bumped the linter and made numerous changes to pass the linter. This has not been done for v1 of the linter which this branch uses. The v2 version of the linter changed things which is some fixes were needed. Bumping the linter version here will cause CI to fail on dev-v3

Copy link
Copy Markdown
Member

@robertsirc robertsirc left a comment

Choose a reason for hiding this comment

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

LGTM

@mattfarina mattfarina merged commit 9180072 into helm:dev-v3 Apr 18, 2025
5 checks passed
@dongjiang1989 dongjiang1989 deleted the backport-30677-to-dev-v3 branch April 18, 2025 23:16
@scottrigby scottrigby added this to the 3.18.0 milestone Apr 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

refactor size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants