Update package schema and validation to use 'compiler' object with 'p… #2
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 Registry | |
| on: | |
| pull_request: | |
| paths: | |
| - "packages/**/*.json" | |
| - "schema/package.schema.json" | |
| - "scripts/validate_registry.py" | |
| push: | |
| branches: [main] | |
| paths: | |
| - "packages/**/*.json" | |
| - "schema/package.schema.json" | |
| - "scripts/validate_registry.py" | |
| jobs: | |
| validate: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| - name: Validate registry (online checks) | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| run: python3 scripts/validate_registry.py |