You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CI runs a go install golang.org/x/tools/cmd/stringer@latest but after updating go modules with go 1.23 it updated go.mod with go 1.22.0 which seems to be incompatible with go 1.19.
As the modules update increased go requirement to 1.22 the fix is to actually update CI to use the new go version, but the error was unexpected so wanted to flag, in case others encounter.
What did you see happen?
go install fails with:
go: downloading golang.org/x/tools v0.29.0
go: golang.org/x/tools/cmd/stringer@latest (in golang.org/x/tools@v0.29.0): go.mod:3: invalid go version '1.22.0': must match format 1.23
What did you expect to see?
go install to work as expected.
The text was updated successfully, but these errors were encountered:
Go version
1.19
Output of
go env
in your module/workspace:What did you do?
CI runs a
go install golang.org/x/tools/cmd/stringer@latest
but after updating go modules with go 1.23 it updated go.mod withgo 1.22.0
which seems to be incompatible with go 1.19.As the modules update increased go requirement to 1.22 the fix is to actually update CI to use the new go version, but the error was unexpected so wanted to flag, in case others encounter.
What did you see happen?
go install fails with:
What did you expect to see?
go install to work as expected.
The text was updated successfully, but these errors were encountered: