Replies: 3 comments 1 reply
-
Hello, it's hard to diagnose this problem. I recommend trying to check if you have a compilation error inside your CI by following the process here: https://golangci-lint.run/usage/faq/#why-do-you-have-typecheck-errors |
Beta Was this translation helpful? Give feedback.
-
Im having pretty much that same issue as well |
Beta Was this translation helpful? Give feedback.
-
I have the same issue but also can't create a minimal reproduction example as it's in a big private project and all small examples work fine |
Beta Was this translation helpful? Give feedback.
-
My CI won't pass and I cannot reproduce it by pulling code out into a smaller file.
My local golangci-lint does not raise the error.
If i install golangci-lint manually on my CI it raises the error.
If i install the github action with the latest version it raises the error.
I checked and all versions are 1.54.2 (latest)
No matter what I do I cannot reproduce it locally.
I tried clearing cache in go and golangci-lint.
Here is an anonymized version of my source code that does not throw the error, but the original throws an error at the first case statement error
previous case (typecheck)
.Beta Was this translation helpful? Give feedback.
All reactions