Update lint-checks.yaml

This commit is contained in:
Alexandre
2022-01-22 22:05:04 +01:00
committed by GitHub
parent d748fb661f
commit a1f085ff5b

View File

@@ -22,11 +22,12 @@ jobs:
uses: jitterbit/get-changed-files@v1 uses: jitterbit/get-changed-files@v1
- name: 🔎 Run hadolint - name: 🔎 Run hadolint
run: for files in ${{ steps.changed_files.outputs.all }}; do run: |
if [[ "$(basename ${files})" == "Dockerfile" ]]; then for files in ${{ steps.changed_files.outputs.all }}; do
hadolint "${{ steps.changed_files.outputs.all }}" if [[ "$(basename ${files})" == "Dockerfile" ]]; then
fi hadolint "${{ steps.changed_files.outputs.all }}"
done fi
done
shellcheck: shellcheck:
runs-on: ubuntu-latest runs-on: ubuntu-latest