-
Notifications
You must be signed in to change notification settings - Fork 99
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 golang to 1.23.3 and golangci-lint to 1.60.3 #2087
Conversation
39c1cdb
to
da72ba7
Compare
da72ba7
to
36807b0
Compare
7fd0052
to
0fe0188
Compare
/test metal3-centos-e2e-integration-test-main metal3-ubuntu-e2e-integration-test-main |
Bump golang to 1.23.3 and golangci-lint to 1.60.3 which supports Go 1.23. Get rid of deprecated golangci-lint configs, and add timeout to the action, otherwise it'll be timed out in 1 minute. 15 minutes is consistent with "make lint" timeout. Linter fixes: - Fix new linter errors by removing the return value which is always nil (unparam linter), and thus meaningless. - "exportloopref" is not needed from Go 1.22 onwards, replaced by "copyloopvar" in golangci-lint 1.60.2. - Ambiguous string warnings in Wrapf fixed. Signed-off-by: Tuomo Tanskanen <tuomo.tanskanen@est.tech>
0fe0188
to
1b288fc
Compare
/test metal3-centos-e2e-integration-test-main metal3-ubuntu-e2e-integration-test-main |
Our local "make lint" and "make test" don't definitely run same stuff as the linter action, this PR was locally clean long time ago, but PR checks came up with issues not seen locally. Quite sad setup ... |
Manual cherry-pick for 1.8 here: #2099 Release 1.7 does not need one as it is going out of support along with 1.9 and Golang 1.22 is supported for the rest of its life. |
/retest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left some self-comments on the PR that we should consider.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: lentzi90 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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/retest |
If this aborts again due to timeout, I'll override it, as the log is filled with unrelated Jenkins agent issues and network flakes. Ubuntu has passed long time ago. |
/override metal3-centos-e2e-integration-test-main |
@tuminoid: Overrode contexts on behalf of tuminoid: metal3-centos-e2e-integration-test-main In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
Fixes: #2047