mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-02 22:04:06 +02:00
Update lint-checks.yaml
This commit is contained in:
10
.github/workflows/lint-checks.yaml
vendored
10
.github/workflows/lint-checks.yaml
vendored
@@ -22,8 +22,8 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
for files in ${{ steps.changed_files.outputs.all }}; do
|
for files in ${{ steps.changed_files.outputs.all }}; do
|
||||||
if [[ "$(basename ${files})" == "Dockerfile" ]]; then
|
if [[ "$(basename ${files})" == "Dockerfile" ]]; then
|
||||||
echo "Hadolint ${{ steps.changed_files.outputs.all }}"
|
echo "Hadolint $files"
|
||||||
hadolint "${{ steps.changed_files.outputs.all }}"
|
hadolint "$files"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
@@ -41,9 +41,9 @@ jobs:
|
|||||||
- name: 🔎 Run ShellCheck
|
- name: 🔎 Run ShellCheck
|
||||||
run: |
|
run: |
|
||||||
for files in ${{ steps.changed_files.outputs.all }}; do
|
for files in ${{ steps.changed_files.outputs.all }}; do
|
||||||
if [[ "$(basename ${files})" == *".sh* ]]; then
|
if [[ "$files" == *".sh* ]]; then
|
||||||
echo "Spellcheck ${{ steps.changed_files.outputs.all }}"
|
echo "Spellcheck $files"
|
||||||
hadolint "${{ steps.changed_files.outputs.all }}"
|
spellcheck "$files"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user