1
0
mirror of https://github.com/tw93/Mole.git synced 2026-02-12 23:15:15 +00:00

Improve shell workflow file discovery (#24)

This commit is contained in:
Tw93
2025-10-12 16:27:16 +08:00
committed by GitHub
parent aeb309c522
commit 6fc1928fca

View File

@@ -34,7 +34,7 @@ jobs:
echo "No shell files found; skipping shfmt" echo "No shell files found; skipping shfmt"
exit 0 exit 0
fi fi
shfmt -i 4 -ci -sr -d "${files[@]}" "${search_cmd[@]}" -exec shfmt -i 4 -ci -sr -d {} +
- name: Run shellcheck - name: Run shellcheck
run: | run: |
@@ -48,4 +48,4 @@ jobs:
echo "No shell files found; skipping shellcheck" echo "No shell files found; skipping shellcheck"
exit 0 exit 0
fi fi
shellcheck --rcfile .shellcheckrc "${files[@]}" "${search_cmd[@]}" -exec shellcheck --rcfile .shellcheckrc {} +