This repository was archived by the owner on Sep 24, 2025. It is now read-only.
fix(ci): use GITHUB_TOKEN instead of PAT to fix release workflow #7
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: Continuous Integration | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| quality-check: | |
| name: Lint, Format, Type Check, Test | |
| runs-on: ubuntu-latest | |
| container: | |
| image: ghcr.io/astral-sh/uv:python3.12-bookworm-slim | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install dependencies | |
| run: uv sync --locked | |
| - name: Lint (ruff) | |
| run: uv run ruff check . --fix | |
| - name: Format (ruff format) | |
| run: uv run ruff format . | |
| - name: Type check (pyright) | |
| run: uv run pyright | |
| - name: Run unit tests | |
| run: uv run pytest |