Merge pull request #9 from knorrium/knorrium/json_validator

Add a JSON validation GHA
This commit is contained in:
wiz 2022-07-09 13:09:21 +02:00 committed by GitHub
commit 84e993188e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

17
.github/workflows/validate-json.yml vendored Normal file
View File

@ -0,0 +1,17 @@
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$"