Adding early version of unfinished schema for v4 #17
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Check JSON Schema $ref integrity | |
| on: | |
| pull_request: | |
| types: [opened, synchronize, reopened] | |
| # Optional: only run when schemas or the script change | |
| paths: | |
| - "schema/**" | |
| - ".github/workflows/check-jsonschema.yml" | |
| permissions: | |
| contents: read | |
| jobs: | |
| check-refs: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v5 | |
| - name: Set up Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: 3.12 | |
| - name: Set up uv | |
| uses: astral-sh/setup-uv@v6 | |
| with: | |
| enable-cache: true | |
| - name: Sync dependencies | |
| run: uv sync --all-extras --dev | |
| - name: Run $ref checker | |
| run: | | |
| uv run python -m presentation_validator.v4.check_refs |