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

go1.23 support #4837

Open
1 task
ldez opened this issue Jun 21, 2024 · 1 comment
Open
1 task

go1.23 support #4837

ldez opened this issue Jun 21, 2024 · 1 comment
Assignees
Labels
enhancement New feature or improvement

Comments

@ldez
Copy link
Member

ldez commented Jun 21, 2024

Is golangci-lint support go1.23?

No, and yes.

Basically, golangci-lint supports Go versions lower or equal to the Go version used to build it.

Go version (build) Supported Go versions (code) Not supported Go versions (code)
go1.21 <= go1.21 (go1.21, go1.20, etc.) > go1.21 (go1.22, go1.23, etc.)
go1.20 <= go1.20 (go1.20, go1.19, etc.) > go1.20 (go1.21, go1.22, etc.)

The current binaries from the releases page and the Docker images have been built with go1.22 and will be built with go1.22 as long as go1.23 is not GA.
So those binaries/images don't support go1.23 (new elements and internal Go changes).

https://golangci-lint.run/usage/faq/#which-go-versions-are-supported

In addition, of the Go version used to build it, some linters could need to be updated to support newer versions of Go, and internal pieces of golangci-lint could also need to be updated.

You can follow the PR #4836 to see the progress on this topic.


  • staticcheck, gosimple, stylecheck: waiting for a release. details

golangci-lint is a free and open-source project built by volunteers.

If you value it, consider supporting us, we appreciate it! ❤️

Open Collective backers and sponsors GitHub Sponsors

support-golangci-lint-HD.mp4

Video created by a human (ldez) with Inkscape, Synfig, Kdenlive.

Open Collective backers and sponsors GitHub Sponsors

@Zxilly
Copy link
Contributor

Zxilly commented Jul 2, 2024

Is that possible to push the pending commits for go 1.23 to other branch than master, so we can try the new version in the CI process?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or improvement
Projects
None yet
Development

No branches or pull requests

2 participants