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 the minimum Go version to 1.22 #1300

Merged
merged 3 commits into from
Oct 26, 2024

Conversation

BewareMyPower
Copy link
Contributor

@BewareMyPower BewareMyPower commented Oct 25, 2024

Motivation

Go 1.23 was released at 2024-08-13, which means Go 1.21 won't be supported anymore.

Modifications

  • Upgrade workflow and all related files' minimum go version to 1.22.
  • Upgrade golangci-lint to v1.60.0 to be compatible with Go 1.22

@BewareMyPower
Copy link
Contributor Author

There seems to be something wrong with the golangci-run action. Let me take a look

@BewareMyPower
Copy link
Contributor Author

BewareMyPower commented Oct 25, 2024

Though I originally planned to upgrade the golangci-lint in another PR, it looks like golangci-lint 1.51.2 is incompatible with Go 1.22. Hence I just upgraded and fixed lint errors in this PR

@BewareMyPower BewareMyPower added this to the v0.15.0 milestone Oct 25, 2024
@BewareMyPower BewareMyPower merged commit 310fb94 into apache:master Oct 26, 2024
7 checks passed
@BewareMyPower BewareMyPower deleted the bewaremypower/go-1.22 branch October 26, 2024 01:34
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.

3 participants