Skip to content

JSON Validation

JSON Validation #1551

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@692973e3d937129bcbf40652eb9f2f61becf3332
- name: Set up Python
uses: actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f
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