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 required go version to 1.21 for main module and 1.22 for tools #217

Merged
merged 1 commit into from
Sep 16, 2024

Conversation

RTann
Copy link
Collaborator

@RTann RTann commented Sep 11, 2024

Go 1.21 brought go toolchain changes, which makes working with Go versions below 1.21 pretty annoying...

Also, 1.19 is pretty old at this point, so why not bump the minimum required version to 1.21. No need for 1.22 nor 1.23, as there is no reason someone using 1.21 cannot use this.

I bumped tools/go.mod to 1.22, though, due to #215

@RTann RTann requested a review from a team as a code owner September 11, 2024 15:58
@@ -1,6 +1,6 @@
module golang.stackrox.io/grpc-http1

go 1.19
go 1.21.0
Copy link
Contributor

@vikin91 vikin91 Sep 16, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why freeze this on .0?
Nevermind, this defines the minimum version, so it is all fine.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah exactly. I figured there was no need to define this as go 1.21 and then deal with setting a toolchain version. Figured might as well just stick with go 1.21.0 as the minimum (and implied toolchain version) since this is not meant to be used as the main module

@vikin91 vikin91 merged commit 53b0f2a into main Sep 16, 2024
2 checks passed
@vikin91 vikin91 deleted the go-1.21-and-1.22 branch September 16, 2024 08:17
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