-
-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Upgrade golangci-lint to 1.24.0 #10894
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
Conversation
* upgrade golangci-lint to 1.24.0 to allow go 1.14 compatibility * fix golangci-lint errors * make make golangci-lint work when out of go-path Signed-off-by: Andrew Thornton <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I finaly be able to run it localy again - thanks!
Note that this will not upgrade locally installed |
yeah |
This is where coolaj plan of vendoring/go.modding the build dependencies would be helpful |
Or a Docker image with the tools injected into the container. (Though that wouldn't help local testing.) |
There was previously a suggestion of vendoring tools such as this via go modules, perhaps that could be revisited (although if we ever get rid of vendored go, then at least keep it in go modules file) |
Yes, something with go modules would be ideal because global installs can conflict with other projects that may require different versions of those tools. |
We should make |
It's in my .bashrc :D |
make golangci-lint
work when out of go-pathSigned-off-by: Andrew Thornton [email protected]