mirror of
https://github.com/golangci/golangci-lint-action.git
synced 2026-01-16 04:14:30 +07:00
feat: add install-only option (#1305)
This commit is contained in:
committed by
GitHub
parent
7fe1b22e0c
commit
a66d26a465
21
README.md
21
README.md
@@ -302,6 +302,27 @@ with:
|
||||
|
||||
</details>
|
||||
|
||||
### `install-only`
|
||||
|
||||
(optional)
|
||||
|
||||
If set to `true`, the action will only install golangci-lint.
|
||||
It does not run golangci-lint.
|
||||
|
||||
The default value is `false`.
|
||||
|
||||
<details>
|
||||
<summary>Example</summary>
|
||||
|
||||
```yml
|
||||
uses: golangci/golangci-lint-action@v8
|
||||
with:
|
||||
install-only: true
|
||||
# ...
|
||||
```
|
||||
|
||||
</details>
|
||||
|
||||
### `github-token`
|
||||
|
||||
(optional)
|
||||
|
||||
Reference in New Issue
Block a user