From 8b396245ca5391c1921d36280c1aaf1daca9181a Mon Sep 17 00:00:00 2001 From: Christoph Reiter Date: Thu, 23 Oct 2025 09:13:59 +0200 Subject: [PATCH] Revert "Remove astral-sh/setup-uv again, it's slow" This reverts commit a211548f502a3ae6f872ca0bb1d0451973f16656. pipx is even slower --- .github/workflows/generate-srcinfo.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/generate-srcinfo.yml b/.github/workflows/generate-srcinfo.yml index 19e94295..01cea9af 100644 --- a/.github/workflows/generate-srcinfo.yml +++ b/.github/workflows/generate-srcinfo.yml @@ -24,9 +24,12 @@ jobs: with: python-version: '3.12' + - uses: astral-sh/setup-uv@v7 + with: + cache-dependency-glob: .github/workflows/generate-srcinfo.yml + - name: Install dependencies run: | - pipx install --python '${{ steps.setup-python.outputs.python-path }}' uv uv tool install --python '${{ steps.setup-python.outputs.python-path }}' 'msys2-devtools[srcinfo-cache] @ git+https://github.com/msys2/msys2-devtools' - uses: msys2/setup-msys2@v2 @@ -65,9 +68,12 @@ jobs: with: python-version: '3.12' + - uses: astral-sh/setup-uv@v7 + with: + cache-dependency-glob: .github/workflows/generate-srcinfo.yml + - name: Install dependencies run: | - pipx install --python '${{ steps.setup-python.outputs.python-path }}' uv uv tool install --python '${{ steps.setup-python.outputs.python-path }}' 'msys2-devtools[pypi-cache,sbom] @ git+https://github.com/msys2/msys2-devtools' - name: Update the PyPI cache