-
Notifications
You must be signed in to change notification settings - Fork 48
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
invalid go version '1.22.0': must match format 1.23 #251
Comments
Go 1.13 is too old to support new conform (basically newer go.mod patch version support) |
I have the same error with Golang version 1.22.0 linux/amd64 . Any updates? |
not sure what's the issue, works for me: ❯ go install github.com/siderolabs/conform/cmd/conform@latest
go: downloading github.com/siderolabs/conform v0.1.0-alpha.30
~ took 5s119ms
❯ go version
go version go1.22.0 linux/amd64
~
❯
~ |
It's strange, I cannot figure out the problem. I appreciate it if you share your ideas about it: $ sudo go install github.com/siderolabs/conform/cmd/conform@latest
go: github.com/siderolabs/conform/cmd/conform@latest (in github.com/siderolabs/[email protected]): go.mod:3: invalid go version '1.22.0': must match format 1.23 in go.mod i set version 1.22 module bluh
go 1.22 |
Fixed, there was a problem with Go cache and it went well after cleaning the cache, Thanks. |
just changing the version in go.mod file works 1.xx.x to 1.xx |
Oh, my God, it works, but I don't see why it should work |
it works but why? |
First, check the Go version you have installed with If you are using Go 1.20 or older, your project's If you are using Go 1.21 or newer, your project's Hope this helps. |
Issue Summary:
Encountering an error when attempting to install github.com/siderolabs/conform at version v0.1.0-alpha.28, while no such issue exists with version v0.1.0-alpha.27. Using Go version 1.13.
Expected Behavior:
Expecting to successfully install and use version v0.1.0-alpha.28 of github.com/siderolabs/conform.
Actual Behavior:
go install: github.com/siderolabs/conform/cmd/conform@latest (in github.com/siderolabs/[email protected]): go.mod:3: invalid go version '1.22.0': must match format 1.23
Additional Information:
Go version: 1.13
No such issue encountered with version v0.1.0-alpha.27.
The text was updated successfully, but these errors were encountered: