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 Leafwing-Studios/cargo-cache from 1.2.0 to 2.4.0 #51

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 16, 2024

Bumps Leafwing-Studios/cargo-cache from 1.2.0 to 2.4.0.

Release notes

Sourced from Leafwing-Studios/cargo-cache's releases.

v2.4.0

This is a small release that lets users specify the path to Cargo.toml, in case it is not in the root working directory. You do can this with the manifest-path input:

- uses: Leafwing-Studios/[email protected]
  with:
    manifest-path: path/to/Cargo.toml
    # You likely also want to specify the path to the `target` folder.
    cargo-target-dir: path/to/target

What's Changed

Full Changelog: Leafwing-Studios/cargo-cache@v2.3.0...v2.4.0

v2.3.0

This release adds an opt-in integration with cargo-sweep that will automatically remove stale files in the target folder before uploading it to the cache. This will prevent caches from slowly snowballing in size as new build artifacts are created and old ones remain.

- uses: Leafwing-Studios/[email protected]
  with:
    # Set this to enable `cargo-sweep`.
    sweep-cache: true
Any files within the target folder not accessed by this will be deleted before uploading the cache.

run: cargo test

This uses a timestamp to track which files are not accessed between when cargo-cache is initially run and when the cache is uploaded. If you run a cargo command before running cargo-cache, the artifacts it uses may be purged from the cache.

What's Changed

Full Changelog: Leafwing-Studios/cargo-cache@v2.2.0...v2.3.0

v2.2.0

This release improves the generation of cache keys and their fallbacks, on one hand reducing the size of the caches and on the other hand avoiding stale caches.

What's Changed

New Contributors

... (truncated)

Commits
  • 5d5d363 Allow specifying the manifest path (Cargo.toml) (#33)
  • 2a68760 Merge pull request #29 from Leafwing-Studios/ci-checks
  • e34aa8a feat: test all of github's hosted runners
  • f4e76ae feat: test prs and commits in ci
  • d8d3ade cargo-sweep support (#28)
  • 8763a8b Merge pull request #26 from Leafwing-Studios/25-include-rustc-version-in-cach...
  • 36ba415 Improve wording in docs
  • 32d5945 Add rustc version to cache key
  • 9ba9627 Merge pull request #23 from BD103/cache-group-fallback
  • bd76444 fix: do not fallback on caches from other cache groups
  • Additional commits viewable in compare view

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 [Leafwing-Studios/cargo-cache](https://github.com/leafwing-studios/cargo-cache) from 1.2.0 to 2.4.0.
- [Release notes](https://github.com/leafwing-studios/cargo-cache/releases)
- [Commits](Leafwing-Studios/cargo-cache@v1.2.0...v2.4.0)

---
updated-dependencies:
- dependency-name: Leafwing-Studios/cargo-cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code labels Sep 16, 2024
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 github_actions Pull requests that update GitHub Actions code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant