add json check

This commit is contained in:
rob tillaart 2021-04-07 11:43:36 +02:00
parent 6b03bce1d3
commit cca392c210

18
.github/workflows/jsoncheck.yml vendored Normal file
View file

@ -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$"