mirror of
https://github.com/scratchfoundation/golangci-lint.git
synced 2025-08-06 11:28:49 -04:00
chore: add chocolatey (#4615)
This commit is contained in:
parent
1f46a118dc
commit
9d91e4a5a4
3 changed files with 52 additions and 6 deletions
docs/src/docs/welcome
|
@ -9,7 +9,7 @@ Most installations of `golangci-lint` are performed for CI.
|
|||
### GitHub Actions
|
||||
|
||||
We recommend using [our GitHub Action](https://github.com/golangci/golangci-lint-action) for running `golangci-lint` in CI for GitHub projects.
|
||||
It's [fast and uses smart caching](https://github.com/golangci/golangci-lint-action#performance) inside
|
||||
It's [fast and uses smart caching](https://github.com/golangci/golangci-lint-action#performance) inside,
|
||||
and it can be much faster than the simple binary installation.
|
||||
|
||||
Also, the action creates GitHub annotations for found issues: you don't need to dig into build log to see found by `golangci-lint` issues:
|
||||
|
@ -99,6 +99,14 @@ The macports installation mode is community driven, and not officially maintaine
|
|||
sudo port install golangci-lint
|
||||
```
|
||||
|
||||
### Windows
|
||||
|
||||
You can install a binary on Windows using [chocolatey](https://community.chocolatey.org/packages/golangci-lint):
|
||||
|
||||
```sh
|
||||
choco install golangci-lint
|
||||
```
|
||||
|
||||
### Install from Source
|
||||
|
||||
Note: such `go install`/`go get` installation aren't guaranteed to work. We recommend using binary installation.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue