Skip to content

Commit 4de9e70

Browse files
committed
Pin astral-sh/setup-uv to an exact version (immutable releases only)
1 parent 141918d commit 4de9e70

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/actions/setup-python/action.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,10 @@ runs:
2020
# Install uv and enable its built-in cache. The cache key takes the
2121
# platform, the uv version, and a hash of the files below into account.
2222
# See https://docs.astral.sh/uv/guides/integration/github/ for details.
23+
# NOTE: setup-uv publishes immutable releases only (no
24+
# floating major tags), so we pin the full version
2325
- name: Install uv
24-
uses: astral-sh/setup-uv@v9
26+
uses: astral-sh/setup-uv@v9.0.0
2527
with:
2628
enable-cache: true
2729
cache-suffix: "py${{ inputs.python-version }}"

0 commit comments

Comments
 (0)