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
[internal/tools] bump golangci-lint to v1.54.2 #19752
Conversation
| github.com/goware/modvendor v0.5.0 | ||
| github.com/mgechev/revive v1.2.5 | ||
| github.com/mgechev/revive v1.3.2 |
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.
Note for reviewers: revive bumped while bumping golangci-lint
| github.com/Masterminds/semver v1.5.0 // indirect | ||
| github.com/Microsoft/go-winio v0.6.1 // indirect | ||
| github.com/OpenPeeDeeP/depguard v1.1.1 // indirect | ||
| github.com/OpenPeeDeeP/depguard/v2 v2.1.0 // indirect |
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.
note for reviewers: this is why I had to update the depguard config 😢
3564e24
to
1c8b60a
Compare
a01296d
to
105cbf7
Compare
pkg/clusteragent/admission/controllers/webhook/controller_v1_test.go
Outdated
Show resolved
Hide resolved
pkg/collector/corechecks/containers/containerd/containerd_transformers.go
Outdated
Show resolved
Hide resolved
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.
Looks good for the files AML owns, thank you for this!
What does this PR do?
Bump golangci-lint to v1.54.2
Motivation
Bump dependency and run on latest stable golangci-lint version
Additional Notes
For teams: new linter errors on current code are muted inline with the format
//nolint:[linter name] // TODO fix [linter name] [rule name]It is up to the team to fix these errors. The agent platform team will use this new process from now on, as any golangci-lint bump will raise new errors we don't want to keep updating the reference commit
new-from-rev.We are working on adding a job that is allowed to fail and that runs linters removing these
//nolint:[] // TODO [][]to keep track of legacy issues.Possible Drawbacks / Trade-offs
Describe how to test/QA your changes
Reviewer's Checklist
Triagemilestone is set.major_changelabel if your change either has a major impact on the code base, is impacting multiple teams or is changing important well-established internals of the Agent. This label will be use during QA to make sure each team pay extra attention to the changed behavior. For any customer facing change use a releasenote.changelog/no-changeloglabel has been applied.qa/skip-qalabel is not applied.team/..label has been applied, indicating the team(s) that should QA this change.need-change/operatorandneed-change/helmlabels have been applied.k8s/<min-version>label, indicating the lowest Kubernetes version compatible with this feature.