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
[Cherrypick #115537][1.25]*: Bump golangci-lint version and adapt to new linters #115608
[Cherrypick #115537][1.25]*: Bump golangci-lint version and adapt to new linters #115608
Conversation
Bump golangci-lint version. This version adds support for go1.20. This consequently also bumps the version of staticcheck. Note that this was changed to use master to be compatible with 1.20. This commit reverts back to using a tagged release. Signed-off-by: Madhav Jivrajani <madhav.jiv@gmail.com>
Adapt to newly improved linters in golangci-lint v1.51.1 Signed-off-by: Madhav Jivrajani <madhav.jiv@gmail.com>
/approve |
LGTM label has been added. Git tree hash: 575665a2d056c1f3a69bdf46a81c37aa85d5630e
|
/lgtm |
/triage accepted |
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
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cpanato, dims, liggitt, MadhavJivrajani 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 |
What type of PR is this?
Cherry-pick of #115537
/kind cleanup
/sig testing
/priority backlog
What this PR does / why we need it:
Bump golangci-lint version. This version
adds support for go1.20.
This consequently also bumps the version of
staticcheck. Note that this was changed to
use master to be compatible with 1.20(#115129). This
commit reverts back to using a tagged release.
golangci-lint release: https://github.com/golangci/golangci-lint/releases/tag/v1.51.1
staticcheck release: https://github.com/dominikh/go-tools/releases/tag/2023.1
Which issue(s) this PR fixes:
Fixes #
NA
Special notes for your reviewer:
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:
/assign @liggitt @dims