Update metadata for collection releases #480
This file contains 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: 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 |