1
0
Fork 0
mirror of https://github.com/astral-sh/setup-uv.git synced 2025-04-11 17:48:31 -04:00
Commit graph

116 commits

Author SHA1 Message Date
Kevin Stillhammer
196fe5f098
Speed up updating known checksums ()
Before downloading the checksum file from the releases, check if we
already know that version.
2024-11-25 09:18:03 +01:00
Kevin Stillhammer
ed171c292b
Fail when cache local path does not exist when trying to cache ()
Can be disabled by setting `ignore-nothing-to-cache: true`
2024-11-23 16:30:54 +01:00
Kevin Stillhammer
691a091485
Remove working dir from cacheDependencyGlob error message ()
Since https://github.com/astral-sh/setup-uv/pull/160 we allow searching
everywhere
2024-11-23 11:03:08 +00:00
Kevin Stillhammer
9b71657bb2
Add comment to clarify process.exit(0) ()
Copied from https://github.com/actions/cache/pull/1217
2024-11-23 10:58:21 +00:00
Kevin Stillhammer
caf0cab7a6
Expand TILDE (~) in path inputs ()
Closes: 
2024-11-23 09:21:51 +01:00
github-actions[bot]
7c238111e6
chore: update known checksums for 0.5.4 ()
chore: update known checksums for 0.5.4

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2024-11-20 22:32:28 +00:00
github-actions[bot]
aee2e918ee
chore: update known checksums for 0.5.3 ()
chore: update known checksums for 0.5.3

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2024-11-19 22:03:11 +00:00
github-actions[bot]
e779db7426
chore: update known checksums for 0.5.2 ()
chore: update known checksums for 0.5.2

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2024-11-15 06:53:19 +00:00
github-actions[bot]
cb1ce8a914
chore: update known checksums for 0.5.1 ()
chore: update known checksums for 0.5.1

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2024-11-09 11:01:15 +01:00
github-actions[bot]
cf7bbf8f13
chore: update known checksums for 0.5.0 ()
chore: update known checksums for 0.5.0

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2024-11-08 09:39:20 +01:00
Kevin Stillhammer
2e657c127d
Avoid leftover files by using temp dir ()
Fixes: 
2024-11-06 12:52:46 +01:00
Kevin Stillhammer
6f467a02b3
add archive extension to downloaded assets ()
Fixes missing .zip extensions
which breaks on old PowerShell versions

Fixes: 
2024-11-05 21:21:57 +01:00
github-actions[bot]
d2242d1901
chore: update known checksums for 0.4.30 ()
chore: update known checksums for 0.4.30

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2024-11-05 06:55:55 +00:00
github-actions[bot]
3e4fe09ab3
chore: update known checksums for 0.4.29 ()
chore: update known checksums for 0.4.29

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2024-10-31 08:15:34 +00:00
github-actions[bot]
56f89d8124
chore: update known checksums for 0.4.28 ()
chore: update known checksums for 0.4.28

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2024-10-29 09:22:48 +00:00
Merlin
3b9817b1bf
feat: add option to disable cache pruning ()
This PR adds an input to control whether or not the cache is pruned
before saving.

Closes 

---------

Co-authored-by: Kevin Stillhammer <kevin.stillhammer@gmail.com>
Co-authored-by: Charlie Marsh <crmarsh416@gmail.com>
Co-authored-by: Charlie Marsh <charlie.r.marsh@gmail.com>
2024-10-25 14:11:32 +02:00
github-actions[bot]
864c48a352
chore: update known checksums for 0.4.26 ()
chore: update known checksums for 0.4.26

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2024-10-24 07:53:38 +00:00
github-actions[bot]
59604e6118
chore: update known checksums for 0.4.25 ()
chore: update known checksums for 0.4.25

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2024-10-21 12:21:15 +00:00
github-actions[bot]
a714a3589c
chore: update known checksums for 0.4.24 ()
chore: update known checksums for 0.4.24

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2024-10-18 09:02:22 +00:00
github-actions[bot]
59ca521371
chore: update known checksums for 0.4.23 ()
chore: update known checksums for 0.4.23

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2024-10-17 15:44:41 +00:00
github-actions[bot]
10d8740fc2
chore: update known checksums for 0.4.21 ()
chore: update known checksums for 0.4.21

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2024-10-15 10:00:41 +00:00
Yoshihisa Mochihara
f731690a1d
Fix cache linebreak in linux runner ()
Related https://github.com/astral-sh/setup-uv/issues/106

We can see the differences `uv --version` in different platforms:

OSX: uv 0.4.20 (0e1b25a53 2024-10-08)\n
Linux: uv 0.4.20\n

In getVersion function we split the output by space and return the
second part.
This PR trims the version number to remove the line break.
2024-10-12 08:59:22 +02:00
github-actions[bot]
77c28f02b3
chore: update known checksums for 0.4.20 ()
chore: update known checksums for 0.4.20

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2024-10-09 09:55:25 +02:00
github-actions[bot]
2422c84f47
chore: update known checksums for 0.4.19 ()
chore: update known checksums for 0.4.19

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2024-10-08 05:35:45 +00:00
github-actions[bot]
c9aa747934
chore: update known checksums for 0.4.18 ()
chore: update known checksums for 0.4.18

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2024-10-02 09:37:03 +00:00
Charlie Marsh
c11f8674f8
Migrate to Biome for linting and formatting () 2024-09-30 08:55:24 +02:00
github-actions[bot]
023eb7875f
chore: update known checksums for 0.4.17 ()
chore: update known checksums for 0.4.17

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2024-09-27 20:26:47 +02:00
github-actions[bot]
8114e5e81b
chore: update known checksums for 0.4.16 ()
chore: update known checksums for 0.4.16

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2024-09-25 07:25:31 +00:00
Kevin Stillhammer
8c3a35e468
Only log checksum is valid when it really is () 2024-09-21 19:10:22 +00:00
github-actions[bot]
03e245b158
chore: update known checksums for 0.4.15 ()
chore: update known checksums for 0.4.15

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2024-09-21 17:07:50 +02:00
Kevin Stillhammer
aeb46491c7
Set tool(-bin) dir and add to PATH ()
Fixes: 
Fixes: 
2024-09-21 10:14:36 +02:00
github-actions[bot]
dbb680fbd2
chore: update known checksums for 0.4.14 ()
chore: update known checksums for 0.4.14

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2024-09-20 21:53:28 +00:00
github-actions[bot]
8de9ba90a2
chore: update known checksums for 0.4.13 ()
chore: update known checksums for 0.4.13

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2024-09-19 21:30:53 +00:00
github-actions[bot]
0c326cbd51
chore: update known checksums for 0.4.12 ()
chore: update known checksums for 0.4.12

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2024-09-18 18:53:44 +02:00
Kevin Stillhammer
ce0062aac7
Add support for semver version ranges ()
Closes: 
2024-09-18 09:29:09 +00:00
github-actions[bot]
8e09161b4b
chore: update known checksums for 0.4.11 ()
chore: update known checksums for 0.4.11

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2024-09-18 07:23:29 +00:00
github-actions[bot]
6dfebec6dd
chore: update known checksums for 0.4.10 ()
chore: update known checksums for 0.4.10

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2024-09-13 19:15:03 +00:00
github-actions[bot]
d70817ce85
chore: update known checksums for 0.4.9 ()
chore: update known checksums for 0.4.9

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2024-09-11 10:08:52 +00:00
github-actions[bot]
89ebbb66d2
chore: update known checksums for 0.4.8 ()
chore: update known checksums for 0.4.8

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2024-09-10 09:54:20 +00:00
Kevin Stillhammer
b463f5b8ca
rename utils/utils.ts to constants.ts () 2024-09-07 12:13:50 +00:00
Kevin Stillhammer
417c97acee
Use D:\a\_tmp\setup-uv-cache as default cacheLocalPath on Windows ()
Fixes: 
2024-09-07 14:11:25 +02:00
github-actions[bot]
4beb0eca42
chore: update known checksums for 0.4.7 ()
chore: update known checksums for 0.4.7

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2024-09-07 09:47:36 +00:00
Kevin Stillhammer
d9a2b6b6fa
Support a list of cache-dependency-glob ()
Closes: 

Because of build conflics (forgot to run `npm i` after pulling) I
deleted the `dist`folder to start fresh. Turns out that it still
contained the source maps from the very first commit. I removed the
argument to generate those a long time ago
2024-09-06 14:44:31 +02:00
github-actions[bot]
606b0d67da
chore: update known checksums for 0.4.6 ()
chore: update known checksums for 0.4.6

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2024-09-06 13:31:10 +02:00
github-actions[bot]
fc672aa0a3
chore: update known checksums for 0.4.5 ()
chore: update known checksums for 0.4.5

Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2024-09-06 09:30:10 +02:00
Kevin Stillhammer
b3cf8231d5
Do not change default version on known checksum update () 2024-09-05 13:26:17 +00:00
Charlie Marsh
182c9c7e92
Change Prettier settings ()
## Summary

I know this is a little tedious but I'd prefer to use the same settings
as in Ruff.
2024-09-05 08:06:45 -04:00
github-actions[bot]
162b8acf39
chore: update checksums ()
Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2024-09-04 07:53:44 +02:00
github-actions[bot]
4b68ead320
chore: update checksums ()
Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2024-09-03 08:08:19 +02:00
github-actions[bot]
b0c1123987
chore: update checksums ()
Co-authored-by: eifinger <1481961+eifinger@users.noreply.github.com>
2024-09-01 20:21:25 +02:00