From 7ece3bb49332162e4e28a7daa5e3edfea7109ad6 Mon Sep 17 00:00:00 2001 From: Christoph Reiter Date: Wed, 22 Oct 2025 08:56:04 +0200 Subject: [PATCH] generate-srcinfo: sync from MSYS2-packages --- .github/workflows/generate-srcinfo.yml | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/.github/workflows/generate-srcinfo.yml b/.github/workflows/generate-srcinfo.yml index 09f8b159d3..e859b89cba 100644 --- a/.github/workflows/generate-srcinfo.yml +++ b/.github/workflows/generate-srcinfo.yml @@ -22,13 +22,15 @@ jobs: - uses: actions/setup-python@v5 id: setup-python with: - python-version: '3.11' - cache: 'pip' - cache-dependency-path: .github/workflows/generate-srcinfo.yml + 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 }}' 'msys2-devtools[srcinfo-cache] @ git+https://github.com/msys2/msys2-devtools' + 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 id: msys2 @@ -64,11 +66,15 @@ jobs: - uses: actions/setup-python@v5 id: setup-python with: - python-version: '3.11' + 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 }}' 'msys2-devtools[pypi-cache,sbom] @ git+https://github.com/msys2/msys2-devtools' + 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 run: |