Sourced from astral-sh/setup-uv's releases.
v7.0.0 🌈 node24 and a lot of bugfixes
Changes
This release comes with a load of bug fixes and a speed up. Because of switching from node20 to node24 it is also a breaking change. If you are running on GitHub hosted runners this will just work, if you are using self-hosted runners make sure, that your runners are up to date. If you followed the normal installation instructions your self-hosted runner will keep itself updated.
This release also removes the deprecated input
server-urlwhich was used to download uv releases from a different server. The manifest-file input supersedes that functionality by adding a flexible way to define available versions and where they should be downloaded from.Fixes
- The action now respects when the environment variable
UV_CACHE_DIRis already set and does not overwrite it. It now also finds cache-dir settings in config files if you set them.- Some users encountered problems that cache pruning took forever because they had some
uvprocesses running in the background. Starting with uv version0.8.24this action usesuv cache prune --ci --forceto ignore the running processes- If you just want to install uv but not have it available in path, this action now respects
UV_NO_MODIFY_PATH- Some other actions also set the env var
UV_CACHE_DIR. This action can now deal with that but as this could lead to unwanted behavior in some edgecases a warning is now displayed.Improvements
If you are using minimum version specifiers for the version of uv to install for example
[tool.uv] required-version = ">=0.8.17"This action now detects that and directly uses the latest version. Previously it would download all available releases from the uv repo to determine the highest matching candidate for the version specifier, which took much more time.
If you are using other specifiers like
0.8.xthis action still needs to download all available releases because the specifier defines an upper bound (not 0.9.0 or later) and "latest" would possibly not satisfy that.🚨 Breaking changes
- Use node24 instead of node20
@eifinger(#608)- Remove deprecated input server-url
@eifinger(#607)🐛 Bug fixes
- Respect UV_CACHE_DIR and cache-dir
@eifinger(#612)- Use --force when pruning cache
@eifinger(#611)- Respect UV_NO_MODIFY_PATH
@eifinger(#603)- Warn when
UV_CACHE_DIRhas changed@jamesbraza(#601)🚀 Enhancements
- Shortcut to latest version for minimum version specifier
@eifinger(#598)🧰 Maintenance
- Bump dependencies
@eifinger(#613)- Fix test-uv-no-modify-path
@eifinger(#604)
... (truncated)
681c641
Bump actions/checkout from 5.0.0 to 6.0.1 (#712)2e85713
Bump actions/setup-node from 6.0.0 to 6.1.0 (#715)58b6d7b
fix: add OS version to cache key to prevent binary incompatibility (#716)e8b52af
chore: update known checksums for 0.9.17 (#714)ed21f2f
Bump peter-evans/create-pull-request from 7.0.8 to 7.0.9 (#695)93202d8
bump dependencies (#709)5ce0900
set biome files.maxSize to 2MiB (#708)4180991
allow cache-local-path w/o enable-cache (#707)0439606
Bump github/codeql-action from 4.30.9 to 4.31.6 (#698)7dd56c1
chore: update known checksums for 0.9.16 (#706)