ci: migrate actions to Node 24 runtime #7
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: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| workflow_dispatch: | |
| jobs: | |
| validate: | |
| name: Validate skill source | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v5 | |
| - name: Set up Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.13" | |
| - name: Install validation dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| python -m pip install pytest ruff | |
| - name: Run portable Phase 2 readiness check | |
| run: python3 scripts/run_phase2_checks.py --skip-installed | |
| - name: Run validation-script regression tests | |
| run: python3 -m pytest tests -q | |
| - name: Compile Python files | |
| run: python3 -m compileall -q scripts evals/fixtures tests | |
| - name: Ruff check validation code | |
| run: python3 -m ruff check scripts tests | |
| - name: Ruff check existing-preserve fixture | |
| run: python3 -m ruff check evals/fixtures/existing-preserve |