CLAUDE.md: document the GHA-based deploy flow #70
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 and Test | |
| # Single source of truth for code style: the pre-commit hooks pinned | |
| # in `.pre-commit-config.yaml`. CI runs the same hooks against the | |
| # whole tree on every push / PR, so what passes locally passes here. | |
| # Don't add per-tool jobs — keeping them out of CI is the whole point. | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| pre-commit: | |
| name: Pre-commit | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v4 | |
| - name: Set up Python | |
| run: uv python install 3.11 | |
| - name: Run pre-commit | |
| run: uvx pre-commit run --all-files --show-diff-on-failure |