How do I install the latest version of golangci-lint #3785
-
Within the context of a project, I am running:
but the go install will not install:
The go get github.com/golangci/golangci-lint is adding it to the go.mod file, which should not be required, because the project does not explicitly use golangci-lint. So a go mod tidy just removes that entry and then we are no firther forward in getting the latest version of golangci-lint. I really need to get this fixed, because golangci-lint is returning a different result in ci than when it is running locally and the difference between the 2 are different versions of golangci-lint.
But the ci version is running |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
hello, just But I recommend using our binary https://golangci-lint.run/usage/install/#binaries |
Beta Was this translation helpful? Give feedback.
hello,
just
go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest
.But I recommend using our binary https://golangci-lint.run/usage/install/#binaries