Update lint-checks.yaml

This commit is contained in:
Alexandre
2022-01-22 21:54:41 +01:00
committed by GitHub
parent e1f15c455c
commit aa8d4fed50

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 file in ${{ env.HADOLINT_FILES }}; do run: hadolint "${{ steps.changed_files.outputs.all }}"
if [[ "${{ steps.changed_files.outputs.all }}" == "$file" ]]; then #for file in ${{ env.HADOLINT_FILES }}; do
hadolint "$( basename ${{ steps.changed_files.outputs.all }})" # if [[ "${{ steps.changed_files.outputs.all }}" == "$file" ]]; then
fi # hadolint "$( basename ${{ steps.changed_files.outputs.all }})"
done # fi
# done
shellcheck: shellcheck:
runs-on: ubuntu-latest runs-on: ubuntu-latest