Skip to content
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

Merged
merged 12 commits into from
Nov 13, 2024
Merged

Bump go to 1.23 #4080

merged 12 commits into from
Nov 13, 2024

Conversation

Michal-Leszczynski
Copy link
Collaborator

@Michal-Leszczynski Michal-Leszczynski commented Oct 25, 2024

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.

@Michal-Leszczynski Michal-Leszczynski marked this pull request as ready for review October 25, 2024 12:18
@Michal-Leszczynski Michal-Leszczynski marked this pull request as draft November 5, 2024 10:53
@Michal-Leszczynski Michal-Leszczynski marked this pull request as ready for review November 8, 2024 14:41
@Michal-Leszczynski
Copy link
Collaborator Author

@karol-kokoszka This PR is ready for review!

Copy link
Collaborator

@karol-kokoszka karol-kokoszka left a 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.

@Michal-Leszczynski
Copy link
Collaborator Author

Are all of these changes related to bumping go and golint only ?

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.

@Michal-Leszczynski Michal-Leszczynski merged commit 18103e0 into master Nov 13, 2024
52 checks passed
@Michal-Leszczynski Michal-Leszczynski deleted the ml/bump-go branch November 13, 2024 06:44
Michal-Leszczynski added a commit that referenced this pull request Dec 10, 2024
* 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)
Michal-Leszczynski added a commit that referenced this pull request Dec 10, 2024
* 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)
Michal-Leszczynski added a commit that referenced this pull request Dec 11, 2024
* 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)
Michal-Leszczynski added a commit that referenced this pull request Dec 11, 2024
* 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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants