build(deps): bump astral-sh/setup-uv from 6 to 7 #691
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: Formal tests | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| env: | |
| PYTHONUNBUFFERED: "1" | |
| PYTEST_ADDOPTS: "--color=yes" | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: | |
| - "3.11" | |
| - "3.12" | |
| - "3.13" | |
| name: Python ${{ matrix.python-version }} | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions/setup-python@v6 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Display Python version | |
| run: python -c "import sys; print(sys.version)" | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v7 | |
| - name: Install the project | |
| run: uv sync --all-extras --dev | |
| - name: Lint with ruff | |
| run: | | |
| uv run ruff check . | |
| - name: Stylecheck with ruff | |
| run: | | |
| uv run ruff format --check . | |
| - name: Run isort | |
| run: | | |
| uv run isort --check . |