From a1f085ff5b4afc4982d56a98dcb08ccd4eb47517 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sat, 22 Jan 2022 22:05:04 +0100 Subject: [PATCH] Update lint-checks.yaml --- .github/workflows/lint-checks.yaml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/lint-checks.yaml b/.github/workflows/lint-checks.yaml index 8b99dd1c6..124694563 100644 --- a/.github/workflows/lint-checks.yaml +++ b/.github/workflows/lint-checks.yaml @@ -22,11 +22,12 @@ jobs: uses: jitterbit/get-changed-files@v1 - name: 🔎 Run hadolint - run: for files in ${{ steps.changed_files.outputs.all }}; do - if [[ "$(basename ${files})" == "Dockerfile" ]]; then - hadolint "${{ steps.changed_files.outputs.all }}" - fi - done + run: | + for files in ${{ steps.changed_files.outputs.all }}; do + if [[ "$(basename ${files})" == "Dockerfile" ]]; then + hadolint "${{ steps.changed_files.outputs.all }}" + fi + done shellcheck: runs-on: ubuntu-latest