add json check

pull/5/head
rob tillaart 2021-04-07 11:42:26 +02:00
parent 6eb460a2c3
commit 5bf0f14ae6
1 changed files with 18 additions and 0 deletions

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