-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Comments
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
Also, temporarily pin staticcheck to `2024.1rc1` until this becomes an official release. See dominikh/go-tools#1578 (comment) Now golangci-lint panics. It seems that it does not support 1.23 yet, see golangci/golangci-lint#4837 Sounds like it is going to be the case until golang is oficially released Co-authored-by: Georgi Sabev <georgethebeatle@gmail.com>
golangci/golangci-lint#4837 Signed-off-by: Akhil Mohan <akhilerm@gmail.com>
Due to a problem (the Docker image I will relaunch the release when the Docker image is available.
If you value it, consider supporting us, we appreciate it! ❤️ |
@ldez looks like 1.23-alpine is uploaded. |
Only amd64 is partially available, and we need arm64 too. $ docker pull golang:1.23-alpine
1.23-alpine: Pulling from library/golang
no matching manifest for linux/amd64 in the manifest list entries
$ docker pull golang:1.23
1.23: Pulling from library/golang
no matching manifest for linux/amd64 in the manifest list entries |
I am still waiting for the manifests to be available. |
I'm cursed... now there is no space left on the CI... 😢
|
I used an action to remove useless elements inside the CI:
So we gain 24Go, which should fix the problem with the space during the release. It's 3:30 am for me, I've been on this release since 7:00 pm... If you want to share my journey, I think I will launch a quick stream on Twitch https://www.twitch.tv/ldez_oss. |
It's done 🎉 I hope you will enjoy this release. It's 4:00 am so I will go to sleep 💤 |
Hi, this is still an issue for me. Using go 1.23, and a golangci-lint 1.60.3 built with 1.23, memory usage peaks at available RAM and the process gets killed. I don't understand what's the current requirement to fix this. Thanks |
Hi there, If this incompatibility is intended, I would've greatly appreciated a message, instead of the incorrect error output. |
In my case, v1.60.0 and v1.60.1 works fine, but not 1.60.3. Valid for both go 1.22 and go 1.23. |
@ozancaglayan @nesselchen Can you open new issues? thank you |
EDIT: since v1.60.0 golangci-lint supports go1.23 🎉
golangci-lint
is a free and open-source project built by volunteers.If you value it, consider supporting us, we appreciate it! ❤️
support-golangci-lint-HD.mp4
Video created by a human (ldez) with Inkscape, Synfig, Kdenlive.
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.
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/welcome/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.
Additional Notes
Some package systems (like homebrew, nix, etc.) are "slow" in propagating the new Go version.
After a new release of Go and golangci-lint, those systems can use an old Go version to compile golangci-lint resulting in a non-working binary (high memory usage, missing symbol, etc.).
In this situation, you can either use the official binaries, or compile it manually with the right Go version, or help those package systems to support this new Go version.
We are not responsible for package systems that don't use official binaries.
To see the Go version used to compile:
golangci-lint version
The text was updated successfully, but these errors were encountered: