Skip to content

Commit

Permalink
doc: improve options documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
ldez committed May 3, 2024
1 parent 7a6f311 commit 2bff406
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ You will also likely need to add the following `.gitattributes` file to ensure t
```yml
uses: golangci/golangci-lint-action@v5
with:
version: v1.58
version: latest
# ...
```

Expand Down
12 changes: 6 additions & 6 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ inputs:
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"
default: ""
install-mode:
description: "The mode to install golangci-lint. It can be 'binary' or 'goinstall'."
default: "binary"
required: false
working-directory:
description: "golangci-lint working directory, default is project root"
Expand All @@ -35,9 +35,9 @@ inputs:
restore existing caches, subject to other options.
default: 'false'
required: false
install-mode:
description: "The mode to install golangci-lint. It can be 'binary' or 'goinstall'."
default: "binary"
args:
description: "golangci-lint command line arguments"
default: ""
required: false
runs:
using: "node20"
Expand Down

0 comments on commit 2bff406

Please sign in to comment.