Files
coredesktop/.gitea/workflows/shellcheck.yml
T
davidandClaude Opus 5.5 c6a6bac84a
shellcheck / shellcheck (push) Successful in 13s
Merge branch 'main' of https://gitea.federated.computer/Federated_Computer/coredesktop
Brings in the shellcheck lint and bats tests. Both sides fixed the same
shellcheck warnings; this keeps the remote's versions of 20-aur.sh,
80-gnome-extensions.sh and .shellcheckrc, which silence false positives
per line rather than for the whole repo.

The Gitea workflow now runs make lint, so it checks the same scripts as
the Makefile, and the README points contributors at make check. The test
helper's REPO, used only by the .bats files, is marked for shellcheck,
and the update test expects the pull to be fast-forward only.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 07:25:07 -06:00

18 lines
447 B
YAML

# Check every bash script with shellcheck: make lint (settings in .shellcheckrc)
name: shellcheck
on: [push, pull_request]
jobs:
shellcheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install shellcheck
run: |
SUDO=$(command -v sudo || true)
$SUDO apt-get update -q
$SUDO apt-get install -y -q shellcheck make
- name: Run shellcheck
run: make lint