[ci] Pin uv version in setup-uv to fix Windows manifest fetch flake (#16534)

This commit is contained in:
J. Nick Koston
2026-05-21 10:53:34 -05:00
committed by GitHub
parent e0076cb1a8
commit 233a60f106
4 changed files with 24 additions and 0 deletions

View File

@@ -35,6 +35,10 @@ runs:
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
with:
enable-cache: true
# Pin uv version so the action does not have to fetch the
# manifest from raw.githubusercontent.com on every cache
# miss; that fetch flakes on Windows runners.
version: "0.11.15"
- name: Create Python virtual environment
if: steps.cache-venv.outputs.cache-hit != 'true' && runner.os != 'Windows'
shell: bash