Skip to content

Commit f932e4a

Browse files
committed
feat: allow to skip golangci-lint installation
1 parent 9ec8973 commit f932e4a

File tree

7 files changed

+748
-16
lines changed

7 files changed

+748
-16
lines changed

action.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,13 @@ inputs:
66
version:
77
description: |
88
The version of golangci-lint to use.
9-
When `install-mode` is `binary` (default) the value can be v1.2 or v1.2.3 or `latest` to use the latest version.
10-
When `install-mode` is `goinstall` the value can be v1.2.3, `latest`, or the hash of a commit.
9+
When `install-mode` is:
10+
- `binary` (default): the value can be v1.2 or v1.2.3 or `latest` to use the latest version.
11+
- `goinstall`: the value can be v1.2.3, `latest`, or the hash of a commit.
12+
- `none`: the value is ignored.
1113
required: false
1214
install-mode:
13-
description: "The mode to install golangci-lint. It can be 'binary' or 'goinstall'."
15+
description: "The mode to install golangci-lint. It can be 'binary', 'goinstall', or 'none'."
1416
default: "binary"
1517
required: false
1618
working-directory:

0 commit comments

Comments
 (0)