Add a JSON validation GHA

This commit is contained in:
Felipe Knorr Kuhn 2022-07-09 03:57:35 -07:00
parent 3fb27ad032
commit f8653055ac
No known key found for this signature in database
GPG Key ID: 79619B52BB097C1A

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