From 4df555c4b98a0287de4221c90ff3c42f5248a079 Mon Sep 17 00:00:00 2001 From: Timo Behrendt Date: Thu, 4 Sep 2025 20:47:12 +0200 Subject: [PATCH] ci: add bash syntax check --- .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