From 5bf0f14ae6e96b9d0e05ba00d54790a31196ec5a Mon Sep 17 00:00:00 2001 From: rob tillaart Date: Wed, 7 Apr 2021 11:42:26 +0200 Subject: [PATCH] add json check --- .github/workflows/jsoncheck.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/jsoncheck.yml diff --git a/.github/workflows/jsoncheck.yml b/.github/workflows/jsoncheck.yml new file mode 100644 index 0000000..04603d0 --- /dev/null +++ b/.github/workflows/jsoncheck.yml @@ -0,0 +1,18 @@ +name: JSON check + +on: + push: + paths: + - '**.json' + pull_request: + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: json-syntax-check + uses: limitusus/json-syntax-check@v1 + with: + pattern: "\\.json$" +