Skip to content

Update main.yml

Update main.yml #67

Workflow file for this run

name: CI
on:
push:
pull_request:
workflow_dispatch:
schedule:
- cron: "23 0 12 * *"
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.8
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install fastjsonschema
- name: Validate tools' JSON
run: |
cd -- schemas/
./validate-all-families.py -s ./spec-v1.schema.json -t ../corpora/
./validate-all-families.py -s ./spec-v1.schema.json -t ../tools/