diff --git a/README.md b/README.md index 0bbf660..e0545e4 100644 --- a/README.md +++ b/README.md @@ -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 ``` diff --git a/action.yaml b/action.yaml index 34d014e..2852c93 100644 --- a/action.yaml +++ b/action.yaml @@ -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" @@ -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" \