ci: run shellcheck at warning severity

The first run reported only info-level notes (SC2015 in update.sh, SC2012 and
SC2086 on the intentional glob in backup.sh), which made the job fail.
This commit is contained in:
GRAB Racem
2026-11-03 23:36:00 +01:00
parent 2d373ae77a
commit 3322ecd6a6
+4 -2
View File
@@ -55,8 +55,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# shellcheck is preinstalled on the ubuntu runners.
- run: shellcheck install.sh update.sh start.sh scripts/backup.sh
# shellcheck is preinstalled on the ubuntu runners. -S warning: the scripts
# currently have only info-level notes (intentional A && B || C chains in
# update.sh, an unquoted glob in backup.sh's prune), so fail on warnings.
- run: shellcheck -S warning install.sh update.sh start.sh scripts/backup.sh
web:
runs-on: ubuntu-latest