refactor(context): server-side design patterns — Service + Repository + DTO (plan 005) #10
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: Python Style | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - master | |
| jobs: | |
| ruff: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| - name: Setup uv | |
| uses: astral-sh/setup-uv@v6 | |
| - name: Install dev dependencies | |
| run: uv sync --group dev --frozen | |
| - name: Check formatting | |
| run: uv run --group dev ruff format --check . | |
| - name: Lint Python | |
| run: uv run --group dev ruff check . |