Restructure #209
Workflow file for this run
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: Linting | |
| on: [push, pull_request] | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.11' | |
| - name: Install uv | |
| run: pip install uv | |
| - name: Sync workspace | |
| # --all-packages is required to include extras from workspace members | |
| # (backend's dev extra holds ruff itself). | |
| run: uv sync --all-packages --all-extras | |
| - name: Ruff check (backend + cli + tests) | |
| # --no-sync prevents uv run's implicit re-sync from dropping member | |
| # extras (it defaults to no extras and would remove ruff). | |
| run: uv run --no-sync ruff check backend/src cli/src backend/tests |