Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,25 @@ name: Validate

on:
push:
paths:
paths:
- mls.json
- mls_schema.json
pull_request:
paths:
paths:
- mls.json
- mls_schema.json

jobs:
validate:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Set up Python
uses: actions/setup-python@v1
uses: actions/setup-python@v5
with:
python-version: 3.11
- name: Install dependencies
Expand All @@ -28,3 +30,6 @@ jobs:
- name: Validate mls.json
run: |
jsonschema -i mls.json mls_schema.json
- name: Check that mls.json is sorted
run: |
diff -u mls.json <(jq -S <mls.json)
Loading