]> glassweightruler.freedombox.rocks Git - xdg-ninja.git/blob - .github/workflows/json_schema.yml
Add more programs
[xdg-ninja.git] / .github / workflows / json_schema.yml
1 name: Validate JSON
2
3 on:
4 push:
5 branches:
6 - main
7 pull_request:
8 branches:
9 - main
10
11 jobs:
12 validate:
13 runs-on: ubuntu-latest
14 steps:
15 - uses: actions/checkout@v3
16 - name: Validate JSON
17 uses: walbo/validate-json@v1.1.0
18 with:
19 files: programs/*.json
20 schema: json-schema/program.json
21 schema-version: draft-07
22 fail-on-missing-schema: true
23 strict: true