Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump hynek/setup-cached-uv from 1 to 2 #9

Merged
merged 1 commit into from
Sep 2, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 29, 2024

Bumps hynek/setup-cached-uv from 1 to 2.

Release notes

Sourced from hynek/setup-cached-uv's releases.

v2.0.0

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

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

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

Added

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

Sourced from hynek/setup-cached-uv's changelog.

2.0.0 - 2024-07-26

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

1.3.0 - 2024-07-26

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

1.2.0 - 2024-07-22

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

1.1.0 - 2024-04-08

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [hynek/setup-cached-uv](https://github.com/hynek/setup-cached-uv) from 1 to 2.
- [Release notes](https://github.com/hynek/setup-cached-uv/releases)
- [Changelog](https://github.com/hynek/setup-cached-uv/blob/main/CHANGELOG.md)
- [Commits](hynek/setup-cached-uv@v1...v2)

---
updated-dependencies:
- dependency-name: hynek/setup-cached-uv
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jul 29, 2024
@Julian Julian merged commit 8ffddc9 into main Sep 2, 2024
38 checks passed
@dependabot dependabot bot deleted the dependabot/github_actions/hynek/setup-cached-uv-2 branch September 2, 2024 17:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant