From 7ce8d0cc368a2fc0b172f1d1b8fe7fe79c4a93b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniele=20Trifir=C3=B2?= Date: Wed, 8 Jan 2025 15:58:06 +0100 Subject: [PATCH] gha: use uv in release workflow --- .github/workflows/release.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 1ac6bc4..fac0235 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -21,19 +21,19 @@ jobs: with: fetch-depth: 0 - - name: Set up Python 3.10 - uses: actions/setup-python@v5 + - name: Install the latest version of uv + uses: astral-sh/setup-uv@v5 with: - python-version: "3.10" + version: "latest" + python-version: 3.12 - - name: Upgrade pip and nox + - name: Install nox run: | - pip install --upgrade pip nox - pip --version + uv pip install nox nox --version - name: Build package - run: nox -s build-3.10 + run: nox -s build-3.12 - name: Upload package if: github.event_name == 'release'