-
Notifications
You must be signed in to change notification settings - Fork 34
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 go to 1.23 #4080
Bump go to 1.23 #4080
Conversation
4aadc50
to
c926dcb
Compare
It has support for go 1.23.
It refreshes linter configuration by: - using new config fields - excluding stale linters - excluding 'mnd' (magic number detected) - we can consider to re-enable it in the future - excluding error not checked from CLI
44d7f27
to
57e40c1
Compare
@karol-kokoszka This PR is ready for review! |
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.
Are all of these changes related to bumping go and golint only ?
I'm giving +1, please squash and merge, so that it will be easier to revert in case of any problems.
Yes - bumping versions resulted in many linter errors - I divided linter related changes into commits, so that it's easier to go through them during review. |
* chore(go.mod): bump go to 1.23.2 * feat(install-dependencies): bump golangci-lint to 1.61.0 It has support for go 1.23. * chore(linter): replace unused arguments with _ * chore(linter): update linter spec It refreshes linter configuration by: - using new config fields - excluding stale linters - excluding 'mnd' (magic number detected) - we can consider to re-enable it in the future - excluding error not checked from CLI * chore(linter): use canonical header names * chore(linter): use new for loop syntax * chore(linter): use safe metrics getters * chore(linter): improve string formatting * chore(linter): use named http status codes * chore(linter): name arguments in interfaces * chore(linter): allow for fatcontext in scyllaclient * chore(linter): don't wrap error with no-const string (cherry picked from commit 18103e0)
* chore(go.mod): bump go to 1.23.2 * feat(install-dependencies): bump golangci-lint to 1.61.0 It has support for go 1.23. * chore(linter): replace unused arguments with _ * chore(linter): update linter spec It refreshes linter configuration by: - using new config fields - excluding stale linters - excluding 'mnd' (magic number detected) - we can consider to re-enable it in the future - excluding error not checked from CLI * chore(linter): use canonical header names * chore(linter): use new for loop syntax * chore(linter): use safe metrics getters * chore(linter): improve string formatting * chore(linter): use named http status codes * chore(linter): name arguments in interfaces * chore(linter): allow for fatcontext in scyllaclient * chore(linter): don't wrap error with no-const string (cherry picked from commit 18103e0)
* chore(go.mod): bump go to 1.23.2 * feat(install-dependencies): bump golangci-lint to 1.61.0 It has support for go 1.23. * chore(linter): replace unused arguments with _ * chore(linter): update linter spec It refreshes linter configuration by: - using new config fields - excluding stale linters - excluding 'mnd' (magic number detected) - we can consider to re-enable it in the future - excluding error not checked from CLI * chore(linter): use canonical header names * chore(linter): use new for loop syntax * chore(linter): use safe metrics getters * chore(linter): improve string formatting * chore(linter): use named http status codes * chore(linter): name arguments in interfaces * chore(linter): allow for fatcontext in scyllaclient * chore(linter): don't wrap error with no-const string (cherry picked from commit 18103e0)
* chore(go.mod): bump go to 1.23.2 * feat(install-dependencies): bump golangci-lint to 1.61.0 It has support for go 1.23. * chore(linter): replace unused arguments with _ * chore(linter): update linter spec It refreshes linter configuration by: - using new config fields - excluding stale linters - excluding 'mnd' (magic number detected) - we can consider to re-enable it in the future - excluding error not checked from CLI * chore(linter): use canonical header names * chore(linter): use new for loop syntax * chore(linter): use safe metrics getters * chore(linter): improve string formatting * chore(linter): use named http status codes * chore(linter): name arguments in interfaces * chore(linter): allow for fatcontext in scyllaclient * chore(linter): don't wrap error with no-const string (cherry picked from commit 18103e0)
This PR bumps go version to 1.23. Among other things, it has support for workspace vendoring. It also bumps golangci-lint to 1.61.0, which has support for go 1.23.