From 4b28555c7413a49ee21aef3d8d586b0b53e617f8 Mon Sep 17 00:00:00 2001 From: Peter Serwylo Date: Sun, 31 Dec 2023 08:30:40 +1100 Subject: [PATCH] Add syntax check github action to ensure JSON formatted correctly. --- .github/workflows/syntax-check.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .github/workflows/syntax-check.yml diff --git a/.github/workflows/syntax-check.yml b/.github/workflows/syntax-check.yml new file mode 100644 index 0000000..34bd8b2 --- /dev/null +++ b/.github/workflows/syntax-check.yml @@ -0,0 +1,13 @@ +name: Build project + +on: + push: + +jobs: + check-syntax: + runs-on: stedolan/jq + steps: + - name: Checkout project sources + uses: actions/checkout@v3 + - name: Check syntax + run: jq < docs/.well-known/com.serwylo.retrowars-servers.json