Merge pull request #97 from cairo-caplan/virtual_rep_improv #5
This file contains hidden or 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 ips JSON | |
| on: | |
| push: | |
| paths: | |
| - 'ips/**' | |
| pull_request: | |
| paths: | |
| - 'ips/**' | |
| jobs: | |
| validate: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: '3.10' | |
| - name: Install dependencies | |
| run: | | |
| python3 -m pip install --upgrade pip | |
| pip3 install jsonschema | |
| - name: Validate ips JSON files | |
| run: | | |
| python3 scripts/validate_ips.py --strict |