-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
govet printf in go 1.22.5 with golangci-lint v1.57.2 #4936
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
Comments
Hey, thank you for opening your first Issue ! 🙂 If you would like to contribute we have a guide for contributors. |
Hello, You have checked:
But you are using v1.57.2 (2024-03-28)
You should use golangci-lint v1.60.2 built with go1.23. We only supported the latest version of golangci-lint as explained in the issue template.
The govet rules are not dependent on the Go version but on Also, the updated Also, we discourage the usage of To be able to process your issue as quickly as possible,
Legend:
|
@ldez I didn't realize that go 1.23 was released (I was at the beach 🙈). I'll try upgrading and report back, thanks! |
Ok on this version (with |
I let it run for a while and eventually received a panic:
|
Ok, I got the following combination to work:
I'll stick with this for now. I'm happy to open a separate issue for the panic above^ lmk what you would prefer. |
If you have a reproducible example of the panic, you can open a new issue. For the rest, I don't have enough information and it is unexpectecd that golangci-lint v1.60.2 built go1.23 has this behavior. |
Welcome
typecheck
section of the FAQ.Description of the problem
See: golang/go#60529 (comment)
Basically I'm seeing the new govet
printf
checks in older versions of golangci-lint and on go 1.22.5.I've tried some combinations of go versions and golangci-lint versions, but no luck because I run into this bug with any golangci-lint v1.60+ -> #4933
Here's the command I use to install golangci-lint:
Here's the
go.mod
Version of golangci-lint
Configuration
# paste configuration file or CLI flags here
Go environment
Verbose output of running
A minimal reproducible example or link to a public repository
// add your code here
Validation
Supporter
The text was updated successfully, but these errors were encountered: