ci: add shellcheck lint workflow; fix 6 violations
Lint / Shell (shellcheck) (push) Successful in 11s

Uses \$'...' quoting for spinner backslash (SC1003). Adds source=/dev/null
for /etc/os-release (SC1091). Splits local+assign for ip and
current_version (SC2155). Adds disable comments for intentional literal
regex matches (SC2076).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-13 23:40:58 -04:00
parent daafb6c4fb
commit c765b4c26e
2 changed files with 28 additions and 4 deletions
+20
View File
@@ -0,0 +1,20 @@
name: Lint
on:
push:
branches: ["**"]
pull_request:
branches: ["**"]
jobs:
shell-lint:
name: Shell (shellcheck)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install shellcheck
run: apt-get update -qq && apt-get install -y -qq shellcheck
- name: Run shellcheck
run: find . -name "*.sh" -exec shellcheck {} +