Skip to content

Releases: hynek/setup-cached-uv

v2.3.0

17 Nov 11:37
v2.3.0
757bedc
Compare
Choose a tag to compare

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

09 Sep 13:44
v2.2.1
3e2b834
Compare
Choose a tag to compare

Fixed

  • Quoting around cache dir handling. #18

v2.2.0

09 Sep 06:00
v2.2.0
8dd4279
Compare
Choose a tag to compare

Changed

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

v2.1.0

15 Aug 04:46
v2.1.0
4b4bfa9
Compare
Choose a tag to compare

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

26 Jul 08:49
v2.0.0
49a39f9
Compare
Choose a tag to compare

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

26 Jul 05:09
v1.3.0
00eddc9
Compare
Choose a tag to compare

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

22 Jul 07:46
v1.2.0
f364dae
Compare
Choose a tag to compare

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

v1.1.0

08 Apr 17:42
v1.1.0
b32c980
Compare
Choose a tag to compare

Added

  • Support for multiple caches per workflow by adding two types of suffixes. #2

v1.0.0

31 Mar 10:24
v1.0.0
8bb3913
Compare
Choose a tag to compare

Initial experimental release.

I'm currently in some kind of new-project-CI-jail so I gotta test in prod.