File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 46
46
- name : golangci-lint
47
47
uses : golangci/golangci-lint-action@v3
48
48
with :
49
- # Require: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
49
+ # Require: The version of golangci-lint to use.
50
+ # When `install-mode` is `binary` (default) the value can be v1.2 or v1.2.3 or `latest` to use the latest version.
51
+ # When `install-mode` is `goinstall` the value can be v1.2.3, `latest`, or the hash of a commit.
50
52
version : v1.53
51
53
52
54
# Optional: working directory, useful for monorepos
@@ -113,7 +115,9 @@ jobs:
113
115
- name : golangci-lint
114
116
uses : golangci/golangci-lint-action@v3
115
117
with :
116
- # Require: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
118
+ # Require: The version of golangci-lint to use.
119
+ # When `install-mode` is `binary` (default) the value can be v1.2 or v1.2.3 or `latest` to use the latest version.
120
+ # When `install-mode` is `goinstall` the value can be v1.2.3, `latest`, or the hash of a commit.
117
121
version : v1.53
118
122
119
123
# Optional: working directory, useful for monorepos
Original file line number Diff line number Diff line change @@ -3,7 +3,10 @@ description: "Official golangci-lint action with line-attached annotations for f
3
3
author : " golangci"
4
4
inputs :
5
5
version :
6
- description : " version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version"
6
+ description : |
7
+ The version of golangci-lint to use.
8
+ When `install-mode` is `binary` (default) the value can be v1.2 or v1.2.3 or `latest` to use the latest version.
9
+ When `install-mode` is `goinstall` the value can be v1.2.3, `latest`, or the hash of a commit.
7
10
required : false
8
11
args :
9
12
description : " golangci-lint command line arguments"
You can’t perform that action at this time.
0 commit comments