Reuse chat programs and rollout MCP clients #9999
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: Style | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - refactor | |
| pull_request: | |
| # This will trigger the workflow for pull requests to any branch | |
| types: [opened, synchronize, reopened] | |
| jobs: | |
| ruff: | |
| name: Ruff | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v7 | |
| with: | |
| submodules: true | |
| # Pin to the ruff uv.lock resolves, so CI and `uv run ruff` agree. | |
| - name: Lint | |
| uses: astral-sh/ruff-action@v4.1.0 | |
| with: | |
| version: "0.16.0" | |
| - name: Format | |
| uses: astral-sh/ruff-action@v4.1.0 | |
| with: | |
| version: "0.16.0" | |
| args: "format --check" | |
| ty: | |
| name: Ty | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v7 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up Python | |
| uses: actions/setup-python@v7 | |
| with: | |
| python-version: "3.13" | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v10.0.1 | |
| - name: Install dependencies | |
| run: uv sync | |
| - name: Run ty | |
| run: uv run ty check verifiers |