-
Notifications
You must be signed in to change notification settings - Fork 4
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
module go version #20
Comments
@ldez Hi! Done. It's my bad – these linters are simple and do not require 1.21 API. |
For now, I will just ask to downgrade but the new Go version management system is really viral. The Go version inside the go.mod should be set to the real minimal required version. |
What are the rules for updating a |
We will use go1.20 until we have no choice. Currently, we build golangci-lint with go1.21 to be able to support go1.21 but this version, compiled with go1.21, works for projects before go1.21. When we will be forced to use go1.21, only the projects that use golangci-lint with the "tools" pattern and a Go version before go1.21 will be impacted. The real difference: before a project that uses a module with a more recent version of Go, but the module doesn't use specific things related to this recent version of Go, was able to build with an older version.
|
It's possible for you to downgrade the version inside your go.mod to go1.20?
the new way to handle the module and go version is strict.
https://github.com/golangci/golangci-lint/actions/runs/5893637045/job/15985603630?pr=4023
https://go.dev/blog/toolchain
golangci/golangci-lint#4023
The text was updated successfully, but these errors were encountered: