Merge pull request #170 from daawidziu/master #219
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: CI | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
schedule: | |
- cron: "23 0 12 * *" | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
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-tools.py -s ./spec-v1.schema.json -s ./spec-v2.schema.json -t ../tools |