Add Display shellcheck version step (#36)

This commit is contained in:
Viktor Szépe 2021-01-16 23:47:30 +01:00 committed by GitHub
parent ac3e5d1ab4
commit 00209834e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -65,6 +65,11 @@ runs:
mv "${{ github.action_path }}/shellcheck-${scversion}/shellcheck" \ mv "${{ github.action_path }}/shellcheck-${scversion}/shellcheck" \
"${{ github.action_path }}/shellcheck" "${{ github.action_path }}/shellcheck"
- name: Display shellcheck version
shell: bash
run: |
"${{ github.action_path }}/shellcheck" --version
- name: Set options - name: Set options
shell: bash shell: bash
id: options id: options
@ -196,4 +201,4 @@ runs:
echo "Options: ${{ steps.options.outputs.options }}" echo "Options: ${{ steps.options.outputs.options }}"
echo "Status code: ${{steps.check.outputs.statuscode}}" echo "Status code: ${{steps.check.outputs.statuscode}}"
exit ${{steps.check.outputs.statuscode}} exit ${{steps.check.outputs.statuscode}}