-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Unable to run golangci-lint in jenkins build #1219
Comments
Hey, thank you for opening your first Issue ! 🙂 If you would like to contribute we have a guide for contributors. |
How do you run the linter? And what is a structure of your project?
Probably something wrong with you |
Hello, I'm running The same commands works on my linux system with the same version of golang and golangci-lint. I am unable to debug why its failing to run on jenkins. I'm also using Also, I dont think anything is wrong with |
I was seeing the same problem with Go installed from official binaries (i.e. https://golang.org/doc/install). It turned out that EDIT: Actually, explicitly setting |
Thank you @KenjiTakahashi I was finally able to get it working. I will close the issue as the problem is solved. |
To prevent 'failed to load package net' golangci-lint errors, cf. golangci/golangci-lint#1219
Trying to fix a linter problem in codeQL action workflow. golangci/golangci-lint#1219 (comment)
* Disable CGO in codeql action Trying to fix a linter problem in codeQL action workflow. golangci/golangci-lint#1219 (comment)
Thank you for creating the issue!
Please include the following information:
Version of golangci-lint
Config file
Using the default config.
Go environment
Verbose output of running
The text was updated successfully, but these errors were encountered: