add json check
This commit is contained in:
parent
6b03bce1d3
commit
cca392c210
1 changed files with 18 additions and 0 deletions
18
.github/workflows/jsoncheck.yml
vendored
Normal file
18
.github/workflows/jsoncheck.yml
vendored
Normal 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$"
|
||||||
|
|
Loading…
Reference in a new issue