Skip to content

feat: remove v from ontology_info.json #46

feat: remove v from ontology_info.json

feat: remove v from ontology_info.json #46

name: Validate JSON Schemas
on:
push:
paths:
- "**/ontology-assets/**.json"
- "**/ontology-assets/**.gz"
- "**/asset-schemas/**.json"
branches-ignore:
- main
jobs:
validate:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.ref }}
- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: 3.11
- name: Python cache
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements*.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: install requirements
run: |
cd ./tools/ontology-builder/
pip install -r requirements.txt
- name: validate json schemas
run: |
python3 ./tools/ontology-builder/src/validate_json_schemas.py