Skip to content

update pydantic syntax #442

update pydantic syntax

update pydantic syntax #442

Workflow file for this run

name: Ensure JSON views are valid on PR
on:
pull_request:
branches:
- main
jobs:
submit-update-pr:
name: Run JSON schema validation against all views
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: "3.10"
cache: pip
cache-dependency-path: requirements*.txt
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install --upgrade --upgrade-strategy eager -e ".[dev]"
- name: Run JSON schema validation
run: |
python src/view_schema_validation.py