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