-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Install golangci-lint locally using Windows #830
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
Hi! |
I'm not sure that there are We can refer to hugo as example of providing installation instructions for Windows. |
We can't run curl and sh in Windows. Please add a solution with chocolatey. Thanks |
It works on windows if you run the install script Maybe this should go in the readme? |
@fgagneten I think the easiest method right now is to just manually download one of the Windows archives from the releases page and extract the binary somewhere on the PATH. That said, I do think adding support for chocolatey.org or similar might make sense. Patches are welcome if someone with experience would like to add support. |
this works on windows with git bash, excepted that if your user directory has space( ex: c:\users\foo bar\ ) . |
* Fix appveyor build Download specific version of golangci-lint to prevent failures. Refs: golangci/golangci-lint#830 (comment) * Skip flaky test Refs: https://jira.d2iq.com/browse/D2IQ-67286
please run in git bash |
You are the man! |
Hi @ernado!
Is this still the case? |
Thank you for creating the issue!
I couldn't find a way to install golang-ci-lint in my Windows PC. The only issue I found so far was: #14
Reading the README.md I could only find Linux and MacOS installation: https://github.com/golangci/golangci-lint#install
Is there any possibility to update the README explaining how to install and run locally golangci-lint for Windows?
Thanks
The text was updated successfully, but these errors were encountered: