Skip to content

Use group outputs for errors #8

Use group outputs for errors

Use group outputs for errors #8

Workflow file for this run

name: JSON Schema Check
on:
pull_request:
branches: [ "main" ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
validate_json:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install jsonschema
- name: Run JSON validation
run: |
python utility/check.py