docs(v5.1): deploy runbook + roadmap/status for the post-v5.0 release #43
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] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| python: | |
| name: python (lint + typecheck + test) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: install uv | |
| uses: astral-sh/setup-uv@v3 | |
| with: | |
| version: "0.8.x" | |
| - name: pin python | |
| run: uv python install 3.12 | |
| - name: sync workspace | |
| run: uv sync --all-packages | |
| - name: ruff (lint) | |
| run: uv run ruff check . | |
| - name: ruff (format) | |
| run: uv run ruff format --check . | |
| - name: mypy (strict on core) | |
| run: uv run mypy | |
| - name: pytest | |
| run: uv run pytest -q | |
| web: | |
| name: web (typecheck) | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: apps/web | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: setup node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: "20" | |
| - name: enable pnpm | |
| run: corepack enable pnpm | |
| - name: install deps | |
| run: pnpm install --frozen-lockfile || pnpm install | |
| - name: typecheck | |
| run: pnpm typecheck |