Update lint-checks.yaml

This commit is contained in:
Alexandre
2022-02-18 19:53:15 +01:00
committed by GitHub
parent 84a9503fbc
commit ee3e9e4c8a

View File

@@ -1,4 +1,3 @@
# shellcheck disable=SC2043
---
name: Lint / Syntax checks
@@ -22,6 +21,7 @@ jobs:
- name: 🔎 Run hadolint
run: |
# shellcheck disable=SC2043
for files in ${{ steps.changed_files.outputs.all }}; do
if [[ "$(basename ${files})" == "Dockerfile" ]]; then
echo "Hadolint $files"
@@ -42,6 +42,7 @@ jobs:
- name: 🔎 Run ShellCheck
run: |
# shellcheck disable=SC2043
for files in ${{ steps.changed_files.outputs.all }}; do
if [[ "$files" == *".sh" ]]; then
echo "Spellcheck $files"