diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index dbbda37..b0d4798 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -19,19 +19,18 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Set up Python 3.12 - uses: actions/setup-python@v3 + - name: Install uv and set the python version + uses: astral-sh/setup-uv@v5 with: python-version: "3.12" - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install .[dev] + run: uv sync --all-extras --dev - name: ruff format check - run: ruff format --check + run: uv run ruff format --check - name: ruff check - run: ruff check + run: uv run ruff check - name: pyright - run: pyright + run: uv run pyright - name: Test with pytest - run: pytest + run: uv run pytest tests +