Kevin Stillhammer and Amp
36300bab3f
Respect the mirror setting when selecting the version manifest ( #1164 )
...
Select the manifest source from the action inputs and keep version
resolution separate from archive downloads. Fetch the built-in manifest
directly from GitHub when the Astral mirror is disabled.
Fixes : #1140
Based on the work of @Rudra-G-23 in
https://github.com/astral-sh/setup-uv/pull/1152
Co-authored-by: Amp <amp@ampcode.com >
2026-12-02 11:40:15 +01:00
github-actions[bot] and eifinger
521745f16c
chore: update known checksums for 0.13.12 ( #1163 )
...
chore: update known checksums for 0.13.12
Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com >
2026-12-02 08:00:50 +01:00
github-actions[bot] and woodruffw
2a39bcff78
chore: update known checksums for 0.13.11 ( #1158 )
...
chore: update known checksums for 0.13.11
Co-authored-by: woodruffw <3059210+woodruffw@users.noreply.github.com >
2026-12-01 20:11:43 +01:00
github-actions[bot] and woodruffw
8d293aae84
chore: update known checksums for 0.13.10 ( #1157 )
...
chore: update known checksums for 0.13.10
Co-authored-by: woodruffw <3059210+woodruffw@users.noreply.github.com >
2026-11-25 09:32:28 +01:00
github-actions[bot] and eifinger
1db35dd8ee
chore: update known checksums for 0.13.9 ( #1147 )
...
chore: update known checksums for 0.13.9
Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com >
2026-11-18 08:59:05 +01:00
William Woodruff
de938e707d
Add the require-checksums input ( #1139 )
...
Adds `require-checksums`, which enforces the "intrinsic or explicitly
provided checksum" idea. See #1032 .
<details>
<summary>Automated notes</summary>
Add the opt-in input `require-checksums`. When enabled, setup-uv
verifies the archive against the workflow's `checksum` input or the
digest bundled for the resolved uv version, architecture, and platform.
If neither is available, setup fails before downloading the archive. By
default, setup-uv continues to accept manifest checksums as it does
today.
The setting also applies to custom manifests, which can still supply
download URLs. On persistent runners, strict mode keys tool-cache
entries by the expected archive digest so a previous manifest-verified
installation cannot bypass the check.
Closes #1032 . Builds on #1033 .
## Validation
- `npm ci --ignore-scripts` and `npm run all` passed under Node 24 (182
tests).
- The packaged-action regression test installs a custom build into a
temporary runner tool cache. It checks that strict mode rejects a
manifest-only version even with a warm cache, reuses a verified
installation for the same digest, and rejects a changed digest or a
custom build that conflicts with the bundled digest.
</details>
---------
Signed-off-by: William Woodruff <william@yossarian.net >
2026-11-16 22:24:53 +01:00
github-actions[bot] and eifinger
963ce8fe9e
chore: update known checksums for 0.13.8 ( #1131 )
...
chore: update known checksums for 0.13.8
Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com >
2026-11-13 09:00:13 +01:00
github-actions[bot] and eifinger
a1b1886df2
chore: update known checksums for 0.13.7 ( #1124 )
...
chore: update known checksums for 0.13.7
Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com >
2026-11-03 09:20:52 +01:00
Kevin Stillhammer and Amp
68559e99cc
Use Astral mirror for version manifests with GitHub fallback ( #1119 )
...
Amp-Thread-ID:
https://ampcode.com/threads/T-01a1822a-68da-7125-9e7d-16e038ab0840
Closes : #1118
Co-authored-by: Amp <amp@ampcode.com >
2026-10-28 15:09:55 +01:00
github-actions[bot] and eifinger
0192b69518
chore: update known checksums for 0.13.6 ( #1117 )
...
chore: update known checksums for 0.13.6
Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com >
2026-10-27 11:55:43 +01:00
github-actions[bot] and eifinger
07a047e608
chore: update known checksums for 0.13.5 ( #1103 )
...
chore: update known checksums for 0.13.5
Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com >
2026-10-22 10:18:56 +02:00
github-actions[bot] and eifinger
4ad2329c1e
chore: update known checksums for 0.13.4 ( #1099 )
...
chore: update known checksums for 0.13.4
Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com >
2026-10-21 09:58:30 +02:00
github-actions[bot] and eifinger
4bc6759c82
chore: update known checksums for 0.13.2/0.13.3 ( #1098 )
...
chore: update known checksums for 0.13.2/0.13.3
Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com >
2026-10-20 08:46:37 +02:00
github-actions[bot] and eifinger
8ca4be000b
chore: update known checksums for 0.13.1 ( #1094 )
...
chore: update known checksums for 0.13.1
Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com >
2026-10-15 08:23:05 +02:00
github-actions[bot] and zanieb
1c37ad07a6
chore: update known checksums for 0.13.0 ( #1089 )
...
chore: update known checksums for 0.13.0
Co-authored-by: zanieb <2586601+zanieb@users.noreply.github.com >
2026-10-09 15:33:43 -05:00
github-actions[bot] and eifinger
b3c9b5fc56
chore: update known checksums for 0.12.24 ( #1084 )
...
chore: update known checksums for 0.12.24
Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com >
2026-10-09 09:36:48 +02:00
github-actions[bot] and eifinger
c84232ca4f
chore: update known checksums for 0.12.23 ( #1082 )
...
chore: update known checksums for 0.12.23
Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com >
2026-10-05 08:01:54 +02:00
github-actions[bot] and eifinger
a96208bed1
chore: update known checksums for 0.12.22 ( #1080 )
...
chore: update known checksums for 0.12.22
Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com >
2026-10-02 08:37:21 +02:00
github-actions[bot] and eifinger
0e3884b860
chore: update known checksums for 0.12.21 ( #1078 )
...
chore: update known checksums for 0.12.21
Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com >
2026-10-01 19:16:46 +02:00
github-actions[bot] and eifinger
bcf05803b5
chore: update known checksums for 0.12.20 ( #1076 )
...
chore: update known checksums for 0.12.20
Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com >
2026-09-29 13:06:23 +02:00
github-actions[bot] and eifinger
227a0f6bea
chore: update known checksums for 0.12.19 ( #1068 )
...
chore: update known checksums for 0.12.19
Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com >
2026-09-25 08:48:57 +02:00
github-actions[bot] and eifinger
525b679e45
chore: update known checksums for 0.12.18 ( #1065 )
...
chore: update known checksums for 0.12.18
Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com >
2026-09-23 08:08:47 +02:00
github-actions[bot] and eifinger
ffe1476305
chore: update known checksums for 0.12.17 ( #1058 )
...
chore: update known checksums for 0.12.17
Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com >
2026-09-20 10:50:13 +02:00
github-actions[bot] and eifinger
f5548c5552
chore: update known checksums for 0.12.16 ( #1057 )
...
chore: update known checksums for 0.12.16
Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com >
2026-09-18 08:48:58 +02:00
github-actions[bot] and eifinger
3377a30666
chore: update known checksums for 0.12.15 ( #1054 )
...
chore: update known checksums for 0.12.15
Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com >
2026-09-16 08:10:10 +02:00
github-actions[bot] and eifinger
dfb5f38677
chore: update known checksums for 0.12.14 ( #1053 )
...
chore: update known checksums for 0.12.14
Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com >
2026-09-15 07:41:36 +02:00
github-actions[bot] and eifinger
45c121f982
chore: update known checksums for 0.12.13 ( #1045 )
...
chore: update known checksums for 0.12.13
Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com >
2026-09-11 08:30:39 +02:00
github-actions[bot] and eifinger
421feb646d
chore: update known checksums for 0.12.12 ( #1041 )
...
chore: update known checksums for 0.12.12
Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com >
2026-09-10 08:32:00 +02:00
github-actions[bot] and eifinger
a6772c8f0a
chore: update known checksums for 0.12.10/0.12.11 ( #1038 )
...
chore: update known checksums for 0.12.11
Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com >
2026-09-09 08:15:09 +02:00
github-actions[bot] and eifinger
e105c8fb1d
chore: update known checksums for 0.12.9 ( #1035 )
...
chore: update known checksums for 0.12.9
Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com >
2026-09-02 08:21:50 +02:00
cd13f92170
Verify downloads with astral-sh/versions checksums ( #1033 )
...
`setup-uv` currently ignores the `sha256` supplied by the default
`astral-sh/versions` manifest when a selected artifact is newer than its
bundled checksum table, allowing that download to proceed without
validation. Use the manifest checksum as a fallback after explicit and
bundled checksums, and reject manifest entries that do not provide one.
This preserves the stronger pinned hashes for known releases while
verifying newer releases without requiring an action update. Part of
#1032 .
---------
Co-authored-by: Zanie Blue <contact@zanie.dev >
Co-authored-by: William Woodruff <william@yossarian.net >
Co-authored-by: Kevin Stillhammer <kevin.stillhammer@gmail.com >
2026-09-01 17:07:32 +02:00
github-actions[bot] and eifinger
3aef7b92c5
chore: update known checksums for 0.12.7/0.12.8 ( #1031 )
...
chore: update known checksums for 0.12.8
Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com >
2026-09-01 09:00:23 +02:00
github-actions[bot] and eifinger
d08d816a1e
chore: update known checksums for 0.12.6 ( #1030 )
...
chore: update known checksums for 0.12.6
Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com >
2026-08-26 08:35:28 +02:00
William Woodruff
7211c71869
Use JSON + a typed wrapper instead of TS codegen ( #1025 )
...
Signed-off-by: William Woodruff <william@yossarian.net >
2026-08-19 17:54:07 -04:00
github-actions[bot] and eifinger
5ec49509d7
chore: update known checksums for 0.12.5 ( #1020 )
...
chore: update known checksums for 0.12.5
Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com >
2026-08-16 22:24:06 +02:00
github-actions[bot] and eifinger
20cfd1bf94
chore: update known checksums for 0.12.4 ( #1017 )
...
chore: update known checksums for 0.12.4
Co-authored-by: eifinger <eifinger@users.noreply.github.com >
2026-08-14 07:39:05 +02:00
Raymond and Raymond
d73a0cab66
Tolerate transient manifest timeouts ( #1016 )
...
Transient timeout fetching manifests have increased significantly
recently, especially with private runners.
```
Fetching manifest data from https://raw.githubusercontent.com/astral-sh/versions/main/v1/uv.ndjson ...
Error: The operation was aborted due to timeout
```
Retry transient manifest network failures up to three times with a
progressive backoff (not exponential), keeping the total wait bounded
while making setup resilient to short network blips.
Co-authored-by: Raymond <arguile-@users.noreply.github.com >
2026-08-13 18:34:10 +02:00
Kevin Stillhammer
18d451d679
Add latest-known version selector ( #993 )
...
## Summary
- add `latest-known` as an explicit version selector
- resolve it locally to the newest version in the bundled checksum table
- preserve existing default and `latest` behavior
- document custom-manifest checksum semantics and update published
bundles
## Testing
- `npm ci --ignore-scripts`
- `npm run all` (99 tests passed)
Closes #919
Refs: pi-session 019fed0e-6019-7504-911b-bd9955cbbd49
2026-08-11 11:15:59 +02:00
github-actions[bot] and eifinger
b68407c192
chore: update known checksums for 0.12.3 ( #991 )
...
chore: update known checksums for 0.12.3
Co-authored-by: eifinger <eifinger@users.noreply.github.com >
2026-08-09 10:26:32 +02:00
github-actions[bot] and eifinger
696e4e1bf2
chore: update known checksums for 0.12.2 ( #985 )
...
chore: update known checksums for 0.12.2
Co-authored-by: eifinger <eifinger@users.noreply.github.com >
2026-08-06 15:23:16 +02:00
github-actions[bot] and eifinger
7e7e21ddc3
chore: update known checksums for 0.12.1 ( #982 )
...
chore: update known checksums for 0.12.1
Co-authored-by: eifinger <eifinger@users.noreply.github.com >
2026-08-01 10:26:59 +02:00
github-actions[bot] and eifinger
094aa226ed
chore: update known checksums for 0.12.0 ( #981 )
...
chore: update known checksums for 0.12.0
Co-authored-by: eifinger <eifinger@users.noreply.github.com >
2026-07-29 09:17:43 +02:00
github-actions[bot] and eifinger
d269b9917d
chore: update known checksums for 0.11.31/0.11.32 ( #972 )
...
chore: update known checksums for 0.11.32
Co-authored-by: eifinger <eifinger@users.noreply.github.com >
2026-07-24 08:30:02 +02:00
github-actions[bot] and eifinger
2f537ca87c
chore: update known checksums for 0.11.30 ( #968 )
...
chore: update known checksums for 0.11.30
Co-authored-by: eifinger <eifinger@users.noreply.github.com >
2026-07-21 17:30:36 +02:00
Kevin Stillhammer
2269552d54
Speed up version client by partial response reads ( #807 )
2026-07-21 17:26:32 +02:00
github-actions[bot] and eifinger
ecd24dd710
chore: update known checksums for 0.11.29 ( #960 )
...
chore: update known checksums for 0.11.29
Co-authored-by: eifinger <eifinger@users.noreply.github.com >
2026-07-16 10:58:57 +02:00
github-actions[bot] and eifinger
e80544d808
chore: update known checksums for 0.11.28 ( #947 )
...
chore: update known checksums for 0.11.28
Co-authored-by: eifinger <eifinger@users.noreply.github.com >
2026-07-08 08:04:53 +02:00
github-actions[bot] and eifinger
cd462639a9
chore: update known checksums for 0.11.27 ( #944 )
...
chore: update known checksums for 0.11.27
Co-authored-by: eifinger <eifinger@users.noreply.github.com >
2026-07-07 10:07:28 +02:00
github-actions[bot] and eifinger
c5680ec91f
chore: update known checksums for 0.11.26 ( #930 )
...
chore: update known checksums for 0.11.26
Co-authored-by: eifinger <eifinger@users.noreply.github.com >
2026-07-01 07:53:57 +02:00
github-actions[bot] and eifinger
224c887d48
chore: update known checksums for 0.11.25 ( #929 )
...
chore: update known checksums for 0.11.25
Co-authored-by: eifinger <eifinger@users.noreply.github.com >
2026-06-27 09:33:56 +02:00