Skip to content

Bump the minimum Go version to 1.22#1300

Merged
BewareMyPower merged 3 commits into
apache:masterfrom
BewareMyPower:bewaremypower/go-1.22
Oct 26, 2024
Merged

Bump the minimum Go version to 1.22#1300
BewareMyPower merged 3 commits into
apache:masterfrom
BewareMyPower:bewaremypower/go-1.22

Conversation

@BewareMyPower

@BewareMyPower BewareMyPower commented Oct 25, 2024

Copy link
Copy Markdown
Contributor

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
Copy Markdown
Contributor Author

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

@BewareMyPower

BewareMyPower commented Oct 25, 2024

Copy link
Copy Markdown
Contributor Author

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
@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