Lint the shell scripts of the actions in the validation run

tools/lint-action-scripts.sh runs shellcheck and shfmt on actions/**/*.sh with
pinned tools; validate-workflows.yml runs it, and .editorconfig sets the shell
format. The tests show a shellcheck problem and a badly formatted script fail.

Refs #187
Task: MIL-012#6
This commit is contained in:
2026-10-19 12:01:11 +08:00
parent 7a30560a74
commit a91e0233c1
5 changed files with 143 additions and 0 deletions
+6
View File
@@ -26,3 +26,9 @@ jobs:
- name: Check the coverage of the tools
run: .venv/bin/python -m coverage report
- name: Lint the shell scripts of the actions
env:
SHELLCHECK: .venv/bin/shellcheck
SHFMT: .venv/bin/shfmt
run: bash tools/lint-action-scripts.sh actions