-
Notifications
You must be signed in to change notification settings - Fork 88
CLOUDP-308422: Upgrade golangci-lint to v2 #3774
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
Conversation
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 6.5.2 to 7.0.0. - [Release notes](https://github.com/golangci/golangci-lint-action/releases) - [Commits](golangci/golangci-lint-action@55c2c14...1481404) --- updated-dependencies: - dependency-name: golangci/golangci-lint-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
| - path: internal/test/fixture # Don't check for magic numbers on fixtures. | ||
| linters: | ||
| - mnd | ||
| tests: true |
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.
this file was autogenerated by the golangci-lint migrate
| @@ -0,0 +1,214 @@ | |||
| linters-settings: | |||
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.
this file was autogenerated by the golangci-lint migrate
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.
bck is usually backup, can we have a CLOUDP to clean up later if v2 works fine
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.
Sure. Here is the ticket: https://jira.mongodb.org/browse/CLOUDP-308470
|
Coverage Report 📈
|
Proposed changes
I followed the migration guide to regenerate the golangci file and then I fixed the linting issues flag by the new linters.