-
-
Notifications
You must be signed in to change notification settings - Fork 5
42 lines (40 loc) · 1.23 KB
/
validate.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: Validate JSONs
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
verify-json-validation-website-2-x-x:
strategy:
matrix:
version: [ 2.8.x, 2.6.x, 2.4.x ]
runs-on: ubuntu-latest
name: Website V2.x.x
steps:
- uses: actions/checkout@v3
- name: Validate JSON
uses: nhalstead/[email protected]
with:
schema: ./libcobblersignatures/data/v1/schema.json
jsons: ./libcobblersignatures/data/v1/distro_signatures.json
verify-json-validation-website-3-0-x:
runs-on: ubuntu-latest
name: Website V3.0.x
steps:
- uses: actions/checkout@v3
- name: Validate JSON
uses: nhalstead/[email protected]
with:
schema: ./libcobblersignatures/data/v2/schema.json
jsons: ./libcobblersignatures/data/v2/distro_signatures.json
verify-json-validation-website-latest:
runs-on: ubuntu-latest
name: Website V3.0.x
steps:
- uses: actions/checkout@v3
- name: Validate JSON
uses: nhalstead/[email protected]
with:
schema: ./libcobblersignatures/data/v2/schema.json
jsons: ./libcobblersignatures/data/v2/distro_signatures.json