Attempt to get spec validation working #426
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: JSON check | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
test-json: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: json-syntax-check | |
uses: limitusus/json-syntax-check@v1 | |
with: | |
pattern: "\\.json$*" | |
- name: json-yaml-validate | |
uses: GrantBirki/[email protected] | |
with: | |
json_schema: ./spec.json | |
json_schema_version: draft-2020-12 | |
exclude_file: exclude.yxy |