Fix writeback correspondent ownership #18
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: Quality Gates | |
| on: | |
| push: | |
| paths: | |
| - "backend/**" | |
| - "frontend/**" | |
| - ".pre-commit-config.yaml" | |
| - ".github/workflows/quality-gates.yml" | |
| pull_request: | |
| paths: | |
| - "backend/**" | |
| - "frontend/**" | |
| - ".pre-commit-config.yaml" | |
| - ".github/workflows/quality-gates.yml" | |
| jobs: | |
| hook-parity: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.13" | |
| - name: Setup uv | |
| uses: astral-sh/setup-uv@v5 | |
| - name: Setup Node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: "22" | |
| cache: "npm" | |
| cache-dependency-path: frontend/package-lock.json | |
| - name: Install backend dependencies | |
| run: uv sync --project backend --group dev | |
| - name: Install frontend dependencies | |
| working-directory: frontend | |
| run: npm ci | |
| - name: Backend mypy | |
| run: uv run --directory backend mypy --config-file pyproject.toml | |
| - name: Frontend lint | |
| working-directory: frontend | |
| run: npm run lint | |
| - name: Frontend type-check | |
| working-directory: frontend | |
| run: npm run type-check |