Skip to content

Commit

Permalink
Add workflow to validate schema
Browse files Browse the repository at this point in the history
  • Loading branch information
drdavella committed Mar 8, 2024
1 parent b93c569 commit e63283b
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/validate.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Validate Schema

on:
push:
branches:
- main
pull_request:
branches:
- main

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
validate:
name: Build Package
runs-on: ubuntu-20.04
timeout-minutes: 5
steps:
- name: Set Up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Check out code
uses: actions/checkout@v4
- name: Install dependencies
run: pip install -r scripts/requirements.txt
- name: Validate schema
run: ./scripts/validate_schema.py codetf.schema.json

0 comments on commit e63283b

Please sign in to comment.