From 4f33ee56c85955801d6cad5fab942f8157890cd4 Mon Sep 17 00:00:00 2001 From: Peter Feerick Date: Thu, 7 Mar 2024 09:10:48 +1000 Subject: [PATCH] chore: add json validator step to action Validates all JSON and YML files by default --- .github/workflows/build-n-test.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/build-n-test.yml b/.github/workflows/build-n-test.yml index 23854a8..389fb6d 100644 --- a/.github/workflows/build-n-test.yml +++ b/.github/workflows/build-n-test.yml @@ -15,6 +15,17 @@ on: - '**.md' jobs: + json-validate: + name: Validate JSON/YML files + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: json-yaml-validate + uses: GrantBirki/json-yaml-validate@v2 + with: + mode: fail + test-backend: name: Test backend runs-on: ubuntu-22.04