Commit Graph

285 Commits

Author SHA1 Message Date
eifinger-bot edc4037b1b fix: add timeout to fetch to prevent silent hangs
Add AbortSignal.timeout(30s) to fetch requests to ensure they fail
fast instead of hanging indefinitely when network issues occur.
This fixes issues where the action would hang and eventually get
killed by GitHub Actions without a clear error message.
2026-05-31 09:25:28 +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
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
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
Kevin Stillhammer 02182fa02a fix: warn instead of error when no python to cache (#762)
Fixes: #754
2026-02-06 16:00:33 +01:00
github-actions[bot] a3b3eaea92 chore: update known checksums for 0.10.0 (#759)
chore: update known checksums for 0.10.0

Co-authored-by: eifinger <eifinger@users.noreply.github.com>
2026-02-06 15:43:35 +01:00
Kevin Stillhammer 78cebeceac fix: use --clear to create venv (#761)
Fixes: https://github.com/astral-sh/setup-uv/issues/758
2026-02-06 10:48:26 +01:00
github-actions[bot] e31bec8546 chore: update known checksums for 0.9.30 (#756)
chore: update known checksums for 0.9.30

Co-authored-by: eifinger <eifinger@users.noreply.github.com>
2026-02-05 22:25:51 +01:00
Kevin Stillhammer 3511ff7054 feat: add venv-path input for activate-environment (#746)
Allow customizing the venv location while preserving working-directory
semantics via --directory.

Supersedes: #736
2026-02-04 08:40:32 +01:00
github-actions[bot] db4d6bf3d6 chore: update known checksums for 0.9.29 (#748)
chore: update known checksums for 0.9.29

Co-authored-by: eifinger <eifinger@users.noreply.github.com>
2026-02-04 08:37:58 +01:00
github-actions[bot] 803947b9bd chore: update known checksums for 0.9.28 (#744)
chore: update known checksums for 0.9.28

Co-authored-by: eifinger <eifinger@users.noreply.github.com>
2026-01-30 08:40:25 +01:00
github-actions[bot] 24553ac46d chore: update known checksums for 0.9.27 (#742)
chore: update known checksums for 0.9.27

Co-authored-by: eifinger <eifinger@users.noreply.github.com>
2026-01-27 09:39:27 +01:00