Merge pull request #9 from knorrium/knorrium/json_validator
Add a JSON validation GHA
This commit is contained in:
commit
84e993188e
17
.github/workflows/validate-json.yml
vendored
Normal file
17
.github/workflows/validate-json.yml
vendored
Normal 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$"
|
||||
Loading…
Reference in New Issue
Block a user