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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user