Skip to content

Commit f7090c3

Browse files
committed
Tools: Run shellcheck in GitHub Actions CI
1 parent 1f8a78f commit f7090c3

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

Tools/scripts/build_ci.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -524,6 +524,14 @@ for t in $CI_BUILD_TARGET; do
524524
continue
525525
fi
526526

527+
if [ "$t" == "shellcheck" ]; then
528+
echo "Running shellcheck on scripts"
529+
530+
# Ignore scripts in the modules directory
531+
find . -path ./modules -prune -o -type f -name '*.sh' -exec shellcheck --severity=error '{}' +
532+
continue
533+
fi
534+
527535
if [ "$t" == "param-file-validation" ]; then
528536
echo "Testing param check script"
529537
./Tools/scripts/param_check_unittests.py

0 commit comments

Comments
 (0)