Files
principal-backup-script/.gitea/workflows/check.yml
T
oysteikt 45dd535040
Run shellcheck on shellscripts / check (push) Failing after 13m0s
Run shellcheck on shellscripts / check (pull_request) Failing after 13m11s
.gitea/workflows/check: legg ved en CI jobb som ser over shellskript
2026-05-24 20:35:36 +09:00

23 lines
667 B
YAML

name: "Run shellcheck on shellscripts"
on:
pull_request:
push:
jobs:
check:
runs-on: debian-latest
steps:
- uses: actions/checkout@v6
- name: Install shellcheck
run: apt-get install --update --assume-yes shellcheck
- name: Run shellcheck on backup.sh
# NOTE: We have a lot of variables that are referenced through indirection,
# leading to a lot of false positives for SC2034: "foo appears unused".
# See https://www.shellcheck.net/wiki/SC2034 for more details.
run: shellcheck --exclude=SC2034 backup.sh
- name: Run shellcheck on clean_snapshots.sh
run: shellcheck clean_snapshots.sh