mirror of
https://github.com/golangci/golangci-lint-action.git
synced 2026-05-02 16:18:52 +00:00
feat: allow to skip golangci-lint installation (#1079)
This commit is contained in:
parent
9ec89731c3
commit
aaa42aa062
8 changed files with 753 additions and 19 deletions
|
|
@ -6,11 +6,13 @@ inputs:
|
|||
version:
|
||||
description: |
|
||||
The version of golangci-lint to use.
|
||||
When `install-mode` is `binary` (default) the value can be v1.2 or v1.2.3 or `latest` to use the latest version.
|
||||
When `install-mode` is `goinstall` the value can be v1.2.3, `latest`, or the hash of a commit.
|
||||
When `install-mode` is:
|
||||
- `binary` (default): the value can be v1.2 or v1.2.3 or `latest` to use the latest version.
|
||||
- `goinstall`: the value can be v1.2.3, `latest`, or the hash of a commit.
|
||||
- `none`: the value is ignored.
|
||||
required: false
|
||||
install-mode:
|
||||
description: "The mode to install golangci-lint. It can be 'binary' or 'goinstall'."
|
||||
description: "The mode to install golangci-lint. It can be 'binary', 'goinstall', or 'none'."
|
||||
default: "binary"
|
||||
required: false
|
||||
working-directory:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue