Skip to content

Commit

Permalink
Use "version" instead of "shellcheck_version" for the input (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
ludeeus authored Nov 14, 2021
1 parent a108013 commit 0ef4a19
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,5 +157,5 @@ If running the latest stable version of Shellcheck is not to your liking, you ca
- name: Run ShellCheck
uses: ludeeus/action-shellcheck@master
with:
shellcheck_version: v0.7.0
version: v0.7.0
```
4 changes: 2 additions & 2 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ inputs:
description: "Output format (checkstyle, diff, gcc, json, json1, quiet, tty)"
required: false
default: "gcc"
shellcheck_version:
version:
description: "Specify a concrete version of ShellCheck to use"
required: false
default: "stable"
Expand Down Expand Up @@ -64,7 +64,7 @@ runs:
osvariant="linux"
fi
scversion="${{ inputs.shellcheck_version }}"
scversion="${{ inputs.version }}"
baseurl="https://github.com/koalaman/shellcheck/releases/download"
curl -Lso "${{ github.action_path }}/sc.tar.xz" \
Expand Down

0 comments on commit 0ef4a19

Please sign in to comment.