Releases · hynek/setup-cached-uv · GitHub
Skip to content

Releases: hynek/setup-cached-uv

v2.6.0

Choose a tag to compare

@hynek hynek released this 25 Jul 11:40
v2.6.0
34e35d3

Added

  • New prune-cache input that controls whether uv cache prune --ci is run before the cache is saved.

Changed

  • Cache pruning is now opt-in. Set prune-cache to true to get the previous behavior. See this research conducted by Charlie Marsh for the reasoning.

v2.5.0

Choose a tag to compare

@hynek hynek released this 27 Mar 10:47
v2.5.0
4300ec2

Fixed

  • The action now passes Zizmor in pedantic mode. #28

v2.4.0

Choose a tag to compare

@hynek hynek released this 19 Mar 14:56
v2.4.0
0b9e526

Changed

  • All actions are pinned to their exact hashes.

  • All actions have also been updated to avoid deprecation warnings.

v2.3.0

Choose a tag to compare

@hynek hynek released this 17 Nov 11:37
v2.3.0
757bedc

Changed

  • The default value for cache-dependency-path is now pyproject.toml. This means that changes to packaging metadata of modern Python packages will invalidate the cache. #19

v2.2.1

Choose a tag to compare

@hynek hynek released this 09 Sep 13:44
v2.2.1
3e2b834

Fixed

  • Quoting around cache dir handling. #18

v2.2.0

Choose a tag to compare

@hynek hynek released this 09 Sep 06:00
v2.2.0
8dd4279

Changed

  • The default cache path for Windows is now D:\a\_temp\scu-uv-cache. #16

v2.1.0

Choose a tag to compare

@hynek hynek released this 15 Aug 04:46
v2.1.0
4b4bfa9

Changed

  • When installing on Linux and macOS, it is now enforced to use TLS 1.2 to protect against downgrade attacks.
    #14

v2.0.0

Choose a tag to compare

@hynek hynek released this 26 Jul 08:49
v2.0.0
49a39f9

Added

  • Automatic cache pruning. If caching is active, we now automatically run uv cache prune --ci that shrinks the cache directory to only downloaded files. This make the cache smaller and therefore faster to save and restore. #9

  • The current calendar week is now added to the cache key by default. This means that the cache is refreshed weekly.

    You can tweak the behavior using the cache-date-suffix input. Setting it to "" disables this feature, any other value is interpreted as an argument to the date CLI command. #11

Changed

  • The name of the workflow and of the current job are now part of the cache key. While this means that you can't share a cache between jobs, this should be only a minor inconvenience in practice and make it do the right thing in the vast majority of cases.

    If this is a problem for you, please open an issue and tell us about your use-case. We can always add an option to set the whole key explicitly. #10

v1.3.0

Choose a tag to compare

@hynek hynek released this 26 Jul 05:09
v1.3.0
00eddc9

Fixed

  • The cache directory couldn't actually be... cached ...due to path restrictions (anymore?) so we moved it into /tmp/ and made it configurable using the new action input uv-cache-path. #8

v1.2.0

Choose a tag to compare

@hynek hynek released this 22 Jul 07:46
v1.2.0
f364dae

Added

  • Option to conditionally disable caching by setting if-use-cache to anything else than 'true'.

    uv is increadibly fast at installing wheels, while GitHub Actions's caching is rather slow. But it's still faster than building missing wheels for exotic platforms (say, PyPy).

    This option allows you activate caching only when it's helpful. #6