Some shellcheck fixes and new input (#1)

This commit is contained in:
Viacheslav Kudinov 2022-11-15 20:14:37 +01:00 committed by GitHub
parent 4b5806eb9c
commit 77e79bb879
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 57 additions and 27 deletions

View file

@ -79,7 +79,23 @@ jobs:
- name: Run integration test 6 - verify results output parameter
# This step will never fail, but will print out the results from step5
run: echo "${{ steps.hadolint5.outputs.results }}"
env:
results: ${{ steps.hadolint5.outputs.results }}
run: echo "$results"
- name: Run integration test 7 - set recursive
uses: ./
with:
dockerfile: "*Dockerfile"
failure-threshold: error
recursive: true
- name: Run integration test 8 - print results to console
uses: ./
with:
dockerfile: testdata/warning.Dockerfile
failure-threshold: error
results-to-console: true
#- name: Run integration test 6 - output to file
# # This step will never fail, but will print out rule violations.