add documentation for $pattern annotation #3339
Workflow file for this run
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: Validate JSON Examples | |
on: | |
pull_request: | |
permissions: | |
contents: read | |
jobs: | |
build: | |
# Name the Job | |
name: Validate examples against schema | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python 3.x (latest) | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.x' | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip setuptools wheel | |
python -m pip install jsonschema | |
- name: Run validation script | |
run: | | |
python json-validator.py |