mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 10:21:02 +01:00
Update lint-checks.yaml
This commit is contained in:
3
.github/workflows/lint-checks.yaml
vendored
3
.github/workflows/lint-checks.yaml
vendored
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user