feat: add install-only option (#1305)

This commit is contained in:
Ludovic Fernandez
2025-11-07 16:40:35 +01:00
committed by GitHub
parent 7fe1b22e0c
commit a66d26a465
5 changed files with 64 additions and 6 deletions

View File

@@ -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)