Open chaksn opened 8 months ago
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?
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/conform@v0.1.0-alpha.30): 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
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
just changing the version in go.mod file works 1.xx.x to 1.xx
it works but why?
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/conform@v0.1.0-alpha.28): 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.