Agent CLI and Skill #2456
Workflow file for this run
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: Lint check | |
| on: | |
| pull_request: | |
| jobs: | |
| # -------------------------------------------------------------------------- | |
| # 1. Matrix job — one runner *per* Python version | |
| # -------------------------------------------------------------------------- | |
| lint: | |
| name: Lint (${{ matrix.python-version }}) | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"] | |
| env: | |
| VIRTUAL_ENV: ${{ github.workspace }}/.venv | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Check UV installation | |
| run: make check-uv | |
| - name: Verify UV installation | |
| run: uv --version | |
| - name: Install dependencies | |
| run: PYTHON_VERSION=${{ matrix.python-version }} TEST_PROFILE=ci make install | |
| - name: Run ruff format merge check | |
| run: make merge-check-ruff-format | |
| - name: Run ruff lint merge check | |
| run: make merge-check-ruff-lint | |
| - name: Run pyright merge check | |
| run: make merge-check-pyright | |
| - name: Run mypy merge check | |
| run: make merge-check-mypy | |
| - name: Run config sync check | |
| run: make check-config-sync | |
| # -------------------------------------------------------------------------- | |
| # 2. Aggregator job — the *single* required status check | |
| # -------------------------------------------------------------------------- | |
| lint-all: | |
| name: Lint (all versions) | |
| runs-on: ubuntu-latest | |
| needs: lint # wait for every matrix leg | |
| if: always() # run even if one leg already failed | |
| steps: | |
| - name: Fail if any matrix leg failed | |
| run: | | |
| if [ "${{ needs.lint.result }}" != "success" ]; then | |
| echo "::error::At least one Python version failed linting." | |
| exit 1 | |
| fi | |
| echo "✅ All Python versions passed lint checks." |