diff --git a/README.md b/README.md index b618cd1..5f6ecf3 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,9 @@ jobs: - name: golangci-lint uses: golangci/golangci-lint-action@v3 with: - # Require: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version + # Require: 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. version: v1.53 # Optional: working directory, useful for monorepos @@ -113,7 +115,9 @@ jobs: - name: golangci-lint uses: golangci/golangci-lint-action@v3 with: - # Require: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version + # Require: 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. version: v1.53 # Optional: working directory, useful for monorepos diff --git a/action.yml b/action.yml index f82b8d0..465642c 100644 --- a/action.yml +++ b/action.yml @@ -3,7 +3,10 @@ description: "Official golangci-lint action with line-attached annotations for f author: "golangci" inputs: version: - description: "version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest 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. required: false args: description: "golangci-lint command line arguments"