Skip to content

JSON Validation

JSON Validation #1722

Workflow file for this run

name: JSON Validation
on:
push:
branches:
- master
pull_request:
branches:
- master
schedule:
- cron: "0 4 * * *"
jobs:
validation:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871
- name: Set up Python
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3
with:
python-version: "3.11"
- name: Install dependencies (Common)
run: |
pip install check-jsonschema
- name: Validate JSON file
run: |
check-jsonschema --schemafile cpu/microarchitectures_schema.json cpu/microarchitectures.json
check-jsonschema --schemafile cpu/cpuid_schema.json cpu/cpuid.json