From afc568a4e94b70dfbd84e13cc9411175113b439c Mon Sep 17 00:00:00 2001 From: Timo Behrendt Date: Thu, 4 Sep 2025 20:48:13 +0200 Subject: [PATCH] ci: add bash syntax check (#18) Reviewed-on: https://gitea.t000-n.de/t.behrendt/backupsidecar/pulls/18 Co-authored-by: Timo Behrendt Co-committed-by: Timo Behrendt --- .gitea/workflows/ci.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index 76ae730..0959cbb 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -22,3 +22,12 @@ jobs: provenance: false tags: | backupsidecar:ci-test + + check-syntax: + name: Check syntax + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v5 + - name: Check syntax + run: | + bash -n src/backup.sh