From 3295b1c8de86296aa8f8bcade8caab00275f2f8a Mon Sep 17 00:00:00 2001 From: Matthias Date: Tue, 10 Dec 2024 21:32:08 +0100 Subject: [PATCH] chore: try using UV for windows runs --- .github/workflows/ci.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f42816561..4bb4d9f5c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -267,6 +267,8 @@ jobs: matrix: os: [ windows-latest ] python-version: ["3.10", "3.11", "3.12"] + env: + UV_SYSTEM_PYTHON: 1 steps: - uses: actions/checkout@v4 @@ -275,15 +277,15 @@ jobs: uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} + python-version-file: ".python-version" + + - name: Install uv + uses: astral-sh/setup-uv@v4 - - name: Pip cache (Windows) - uses: actions/cache@v4 - with: - path: ~\AppData\Local\pip\Cache - key: pip-${{ matrix.os }}-${{ matrix.python-version }} - name: Installation run: | + Set-Alias -name pip -value "uv pip" ./build_helpers/install_windows.ps1 - name: Tests