Commit Graph

307 Commits

Author SHA1 Message Date
Kevin Stillhammer
fac544c07d chore(deps): roll up dependabot updates (#903)
Rolls up the current open Dependabot npm updates:

- #848 esbuild from 0.27.5 to 0.28.0
- #847 undici from 8.0.0 to 8.3.0
- #846 ts-jest from 29.4.9 to 29.4.11
- #841 @biomejs/biome from 2.4.10 to 2.4.15, including the matching
biome.json schema URL update

Validation:

- npm run all
2026-06-03 10:21:55 +02:00
Kevin Stillhammer
363c64a728 chore(deps): roll up dependabot updates (#901)
Rolls up the current open Dependabot npm updates:

- #848 esbuild from 0.27.4 to 0.27.5
- #847 undici from 7.24.2 to 8.0.0
- #846 ts-jest from 29.4.6 to 29.4.9
- #841 @biomejs/biome from 2.4.7 to 2.4.10, including the matching
biome.json schema URL update
- #834 smol-toml from 1.6.0 to 1.6.1

Validation:

- npm run all
2026-06-03 09:49:40 +02:00
github-actions[bot]
8e642c5e62 chore: update known checksums for 0.11.18 (#899)
chore: update known checksums for 0.11.18

Co-authored-by: eifinger <eifinger@users.noreply.github.com>
2026-06-02 08:33:00 +02:00
Kevin Stillhammer
a92cb43098 Add quiet input to suppress info-level log output (#898)
## Summary

Adds a new `quiet` input (default: `false`) that suppresses `info`-level
log output when set to `true`. Only warnings and errors are shown.

Contributes to: #868
2026-05-31 21:13:30 +02:00
Kevin Stillhammer
b9c8c4c7ba feat: add download-from-astral-mirror input (#897)
## Summary

Add a new boolean input `download-from-astral-mirror` (default: `true`)
that controls whether uv is downloaded from the Astral mirror or
directly from GitHub Releases.

When set to `false`, the mirror rewrite is skipped entirely and the
download goes straight to GitHub Releases.

Closes: #870
2026-05-31 11:47:01 +02:00
Kevin Stillhammer
feda7fc6a9 fix: report unexpected setup failures (#895)
## Summary
- add top-level uncaughtException and unhandledRejection handlers for
the setup entrypoint
- report unexpected failures through core.setFailed with stack/context
- regenerate the committed setup bundle
2026-05-31 11:17:46 +02:00
eifinger-bot
8dc20b2aca fix: add timeout to fetch to prevent silent hangs (#883)
Add `AbortSignal.timeout(5s)` to fetch requests to ensure they fail fast
instead of hanging indefinitely when network issues occur.
2026-05-31 09:37:59 +02:00
github-actions[bot]
e7108c6ccc chore: update known checksums for 0.11.17 (#892)
chore: update known checksums for 0.11.17

Co-authored-by: eifinger <eifinger@users.noreply.github.com>
2026-05-29 11:10:08 +02:00
github-actions[bot]
12d13f90bc chore: update known checksums for 0.11.16 (#889)
chore: update known checksums for 0.11.16

Co-authored-by: eifinger <eifinger@users.noreply.github.com>
2026-05-22 07:56:51 +02:00
github-actions[bot]
ed07c76224 chore: update known checksums for 0.11.15 (#885)
chore: update known checksums for 0.11.15

Co-authored-by: eifinger <eifinger@users.noreply.github.com>
2026-05-19 07:42:01 +02:00
Zsolt Dollenstein
853401723d Limit GitHub tokens to github.com download URLs (#878)
This makes the Astral mirror slightly less special.
2026-05-13 13:26:05 +02:00
Kevin Stillhammer
7568f55a9a increase libuv-workaround timeout to 100ms (#880)
This should fix
https://github.com/astral-sh/setup-uv/issues/686#issuecomment-4389301919
2026-05-13 08:28:39 +02:00
github-actions[bot]
a81585cbb0 chore: update known checksums for 0.11.14 (#879)
chore: update known checksums for 0.11.14

Co-authored-by: eifinger <eifinger@users.noreply.github.com>
2026-05-13 07:37:30 +02:00
github-actions[bot]
88aa608651 chore: update known checksums for 0.11.13 (#877)
chore: update known checksums for 0.11.13

Co-authored-by: eifinger <eifinger@users.noreply.github.com>
2026-05-11 08:14:58 +02:00
github-actions[bot]
00714ea9dc chore: update known checksums for 0.11.12 (#876)
chore: update known checksums for 0.11.12

Co-authored-by: eifinger <eifinger@users.noreply.github.com>
2026-05-09 08:17:00 +02:00
github-actions[bot]
9d91aa17e1 chore: update known checksums for 0.11.11 (#873)
chore: update known checksums for 0.11.11

Co-authored-by: eifinger <eifinger@users.noreply.github.com>
2026-05-07 09:14:04 +02:00
github-actions[bot]
363818fa0d chore: update known checksums for 0.11.9/0.11.10 (#871)
chore: update known checksums for 0.11.9/0.11.10

Co-authored-by: eifinger <eifinger@users.noreply.github.com>
2026-05-06 08:13:20 +02:00
github-actions[bot]
05143d3dcd chore: update known checksums for 0.11.8 (#867)
chore: update known checksums for 0.11.8

Co-authored-by: eifinger <eifinger@users.noreply.github.com>
2026-04-28 07:45:14 +02:00
Kevin Stillhammer
b3e97d2ba1 Add input no-project in combination with activate-environment (#856)
Closes: #854
2026-04-16 15:48:02 +02:00
github-actions[bot]
1541b77626 chore: update known checksums for 0.11.7 (#853)
chore: update known checksums for 0.11.7

Co-authored-by: eifinger <eifinger@users.noreply.github.com>
2026-04-16 08:00:01 +02:00
Kevin Stillhammer
cdfb2ee6dd Refactor version resolving (#852) 2026-04-11 11:38:41 +02:00
github-actions[bot]
cb84d12dc6 chore: update known checksums for 0.11.6 (#850)
chore: update known checksums for 0.11.6

Co-authored-by: eifinger <eifinger@users.noreply.github.com>
2026-04-10 13:32:57 +02:00
github-actions[bot]
1912cc65f2 chore: update known checksums for 0.11.5 (#845)
chore: update known checksums for 0.11.5

Co-authored-by: eifinger <eifinger@users.noreply.github.com>
2026-04-09 08:26:38 +02:00
github-actions[bot]
a0b52019f1 chore: update known checksums for 0.11.4 (#843)
chore: update known checksums for 0.11.4

Co-authored-by: eifinger <eifinger@users.noreply.github.com>
2026-04-08 07:42:52 +02:00
github-actions[bot]
1c15d185f0 chore: update known checksums for 0.11.3 (#836)
chore: update known checksums for 0.11.3

Co-authored-by: eifinger <eifinger@users.noreply.github.com>
2026-04-02 10:42:50 +02:00
Kevin Stillhammer
cec208311d Shortcircuit latest version from manifest (#828)
The first version is guaranteed to be the latest
2026-03-28 17:43:22 +01:00
Kevin Stillhammer
4dd8ab4520 Simplify inputs.ts (#827)
Do not pass around inputs.
Its okay to freely work with core.getInput in this file
2026-03-28 17:38:30 +01:00
Kevin Stillhammer
f82eb19c06 Refactor inputs (#823)
Don't load at import time and make it easier to test
2026-03-28 16:23:26 +01:00
github-actions[bot]
447e6d02b1 chore: update known checksums for 0.11.2 (#821)
chore: update known checksums for 0.11.2

Co-authored-by: eifinger <eifinger@users.noreply.github.com>
2026-03-27 07:12:16 +01:00
github-actions[bot]
5c62c59261 chore: update known checksums for 0.11.1 (#817)
chore: update known checksums for 0.11.1

Co-authored-by: eifinger <eifinger@users.noreply.github.com>
2026-03-25 08:14:06 +01:00
github-actions[bot]
e1a7373adb chore: update known checksums for 0.11.0 (#815)
chore: update known checksums for 0.11.0

Co-authored-by: eifinger <eifinger@users.noreply.github.com>
2026-03-24 07:42:01 +01:00
Kevin Stillhammer
89709315bb Remove deprecrated custom manifest (#813) 2026-03-23 09:15:51 +01:00
github-actions[bot]
c20049fc26 chore: update known checksums for 0.10.11/0.10.12 (#811) 2026-03-20 07:48:09 +01:00
Zsolt Dollenstein
37802adc94 Fetch uv from Astral's mirror by default (#809)
This PR tries fetching the uv artifact from `releases.astral.sh` by
default, only in cases where the artifact would otherwise have come from
`https://github.com/astral-sh/uv/releases/download/`. The checksums are
supposed to be the same for the mirror, and can still come from
`raw.githubusercontent.com/astral-sh/versions`. If the download fails,
we fall back to the original URL.

This avoids hitting GitHub's Releases API which is prone to rate
limiting. As far as I can tell, together with
https://github.com/astral-sh/setup-uv/pull/802 this PR makes a github
token entirely unnecessary for this action.


Towards https://github.com/astral-sh/uv/issues/18503.
2026-03-16 13:38:17 +01:00
Kevin Stillhammer
fd8f376b22 Switch to ESM for source and test, use CommonJS for dist (#806) 2026-03-14 17:43:49 +01:00
Kevin Stillhammer
f9070de1ea Bump deps (#805) 2026-03-14 12:54:28 +01:00
github-actions[bot]
cadb67bdc9 chore: update known checksums for 0.10.10 (#804)
chore: update known checksums for 0.10.10

Co-authored-by: eifinger <eifinger@users.noreply.github.com>
2026-03-14 09:45:38 +01:00
Kevin Stillhammer
e06108dd0a Use astral-sh/versions as primary version provider (#802)
Closes: #777
Closes: #325
2026-03-12 22:03:21 +01:00
Kevin Stillhammer
6ee6290f1c chore(deps): bump versions (#792)
## Summary
- replicate the currently open Dependabot dependency updates in a single
branch
- update `smol-toml` to `^1.6.0`
- update `@biomejs/biome` to `2.3.8`
- regenerate `package-lock.json` and bundled `dist` output

## Notes
- `main` already includes the open Octokit Dependabot bumps, so those
PRs required no additional net changes here
- the open `smol-toml` Dependabot PR currently resolves to `^1.6.0`,
which is what this branch mirrors

## Validation
- `npm run all`
2026-03-10 17:49:45 +01:00
Ludovic Henry
9f332a133a Add riscv64 architecture support to platform detection (#791)
Add `riscv64gc` as a recognized architecture in the `Architecture` type
union and map Node.js's `riscv64` process.arch value to the `riscv64gc`
uv platform identifier.

This allows the action to correctly detect and download the appropriate
uv binary on RISC-V 64-bit systems (e.g., linux/riscv64 runners).
2026-03-10 15:38:42 +01:00
github-actions[bot]
4bc8fabc0c chore: update known checksums for 0.10.9 (#783)
chore: update known checksums for 0.10.9

Co-authored-by: eifinger <eifinger@users.noreply.github.com>
2026-03-07 08:48:14 +01:00
github-actions[bot]
09ff6fe0ae chore: update known checksums for 0.10.8 (#779)
chore: update known checksums for 0.10.8

Co-authored-by: eifinger <eifinger@users.noreply.github.com>
2026-03-04 07:50:02 +01:00
github-actions[bot]
f8858e6756 chore: update known checksums for 0.10.7 (#775)
chore: update known checksums for 0.10.7

Co-authored-by: eifinger <eifinger@users.noreply.github.com>
2026-02-28 08:50:44 +01:00
eifinger-bot
b12532f27f fix: fall back to VERSION_CODENAME when VERSION_ID is not available (#774)
Debian unstable and testing don't have VERSION_ID in /etc/os-release.
This change falls back to VERSION_CODENAME when VERSION_ID is missing,
producing cache keys like 'debian-sid' for unstable.

Fixes #773
2026-02-27 19:13:59 +01:00
github-actions[bot]
0098a7571c chore: update known checksums for 0.10.6 (#771)
chore: update known checksums for 0.10.6

Co-authored-by: eifinger <eifinger@users.noreply.github.com>
2026-02-25 08:55:26 +01:00
github-actions[bot]
2e7ed0e2bb chore: update known checksums for 0.10.5 (#770)
chore: update known checksums for 0.10.5

Co-authored-by: eifinger <eifinger@users.noreply.github.com>
2026-02-24 08:54:21 +01:00
github-actions[bot]
04224aa8ca chore: update known checksums for 0.10.4 (#768)
chore: update known checksums for 0.10.4

Co-authored-by: eifinger <eifinger@users.noreply.github.com>
2026-02-18 08:29:45 +01:00
github-actions[bot]
2bc602ff89 chore: update known checksums for 0.10.3 (#767)
chore: update known checksums for 0.10.3

Co-authored-by: eifinger <eifinger@users.noreply.github.com>
2026-02-17 09:34:31 +01:00
github-actions[bot]
dd9d748439 chore: update known checksums for 0.10.2 (#765)
chore: update known checksums for 0.10.2

Co-authored-by: eifinger <eifinger@users.noreply.github.com>
2026-02-11 12:10:01 +01:00
github-actions[bot]
14eede1834 chore: update known checksums for 0.10.1 (#764)
chore: update known checksums for 0.10.1

Co-authored-by: eifinger <eifinger@users.noreply.github.com>
2026-02-10 17:24:16 +01:00