You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Such `go install`/`go get` or "tools pattern" installations aren't guaranteed to work.
137
+
Such `go install`/`go get`, "tools pattern", and `tool` command/directives installations aren't guaranteed to work.
138
138
139
139
We recommend using binary installation.
140
140
141
141
Those installations aren't recommended because of the following points:
142
142
143
143
1. Those installations are compiling golangci-lint locally, the Go version used to build will depend on your local Go version.
144
144
2. Some users use `-u` flag for `go get`, which upgrades our dependencies. Resulting binary was not tested and is not guaranteed to work.
145
-
3. When using "tools pattern", the dependencies of a tool can modify the dependencies of another. Resulting binary was not tested and is not guaranteed to work.
145
+
3. When using "tools pattern" or and `tool` command/directives, the dependencies of a tool can modify the dependencies of another or your project. Resulting binary was not tested and is not guaranteed to work.
146
146
4. We've encountered issues with Go modules hashes due to unexpected recreation of dependency tags.
147
147
5.`go.mod` replacement directives don't apply transitively. It means a user will be using patched version of `golangci-lint` if we use such replacements.
148
148
6. It allows installation from main branch which can't be considered stable.
0 commit comments