-
Notifications
You must be signed in to change notification settings - Fork 640
🐛 fix: bumps golangci-lint to work with go 1.24+ #5793
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
base: main
Are you sure you want to change the base?
Conversation
|
/approve Thank you! Fixes the problem described in #5792 (comment) |
|
LGTM label has been added. Git tree hash: dc91c08ef862a03f29d8982b90296bfbac48c09d
|
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dlipovetsky The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
3c0cfe4 to
d6529ed
Compare
|
New changes are detected. LGTM label has been removed. |
33f99a9 to
4e6cc9f
Compare
863fb3b to
b28f9be
Compare
|
/test pull-cluster-api-provider-aws-e2e-blocking |
b28f9be to
8ecc4f4
Compare
bfe75dd to
f5a6466
Compare
f5a6466 to
9c9071e
Compare
We use golangci-lint to build the Kubernetes API Linter (KAL), and golangci-lint calls Here are some issues reported for other projects that call git with flags:
Looks like golangci-lint fixed this in golangci/golangci-lint#6205, and released the fix in https://github.com/golangci/golangci-lint/releases/tag/v2.7.0 @faiq Please try the v2.7.0 release in this PR 🙏 |
|
Ack, golangci-lint v2.7.0 solves this issue. We also tackled it in CAPI:
|
|
I'd say let's go with the same approach that core CAPI went with :) |
What type of PR is this?
/kind bug
What this PR does / why we need it:
bumps golangci lint to work with go 1.24+
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)format, will close the issue(s) when PR gets merged):Fixes #
Special notes for your reviewer:
Checklist:
Release note: