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 Swatinem/rust-cache from 1 to 2 #1093

Merged
merged 1 commit into from Dec 12, 2022

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 28, 2022

Bumps Swatinem/rust-cache from 1 to 2.

Release notes

Sourced from Swatinem/rust-cache's releases.

v2.0.0

  • The action code was refactored to allow for caching multiple workspaces and different target directory layouts.
  • The working-directory and target-dir input options were replaced by a single workspaces option that has the form of $workspace -> $target.
  • Support for considering env-vars as part of the cache key.
  • The sharedKey input option was renamed to shared-key for consistency.

v1.4.0

  • Clean both debug and release target directories.

v1.3.0

  • Use Rust toolchain file as additional cache key.
  • Allow for a configurable target-dir.

v1.2.0

  • Cache ~/.cargo/bin.
  • Support for custom $CARGO_HOME.
  • Add a cache-hit output.
  • Add a new sharedKey option that overrides the automatic job-name based key.

v1.1.0

  • Add a new working-directory input.
  • Support caching git dependencies.
  • Lots of other improvements.

v1.0.1

  • Improved logging output.
  • Make sure to consider all-features dependencies when pruning.
  • Work around macOS cache corruption.
  • Remove git-db cache for now.
Changelog

Sourced from Swatinem/rust-cache's changelog.

Changelog

2.2.0

  • Add new save-if option to always restore, but only conditionally save the cache.

2.1.0

  • Only hash Cargo.{lock,toml} files in the configured workspace directories.

2.0.2

  • Avoid calling cargo metadata on pre-cleanup.
  • Added prefix-key, cache-directories and cache-targets options.

2.0.1

  • Primarily just updating dependencies to fix GitHub deprecation notices.

2.0.0

  • The action code was refactored to allow for caching multiple workspaces and different target directory layouts.
  • The working-directory and target-dir input options were replaced by a single workspaces option that has the form of $workspace -> $target.
  • Support for considering env-vars as part of the cache key.
  • The sharedKey input option was renamed to shared-key for consistency.

1.4.0

  • Clean both debug and release target directories.

1.3.0

  • Use Rust toolchain file as additional cache key.
  • Allow for a configurable target-dir.

1.2.0

  • Cache ~/.cargo/bin.
  • Support for custom $CARGO_HOME.
  • Add a cache-hit output.
  • Add a new sharedKey option that overrides the automatic job-name based key.

1.1.0

  • Add a new working-directory input.
  • Support caching git dependencies.
  • Lots of other improvements.

... (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 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)

@dependabot dependabot bot added the dependencies upgrades to dependencies label Nov 28, 2022
@codecov-commenter
Copy link

codecov-commenter commented Nov 28, 2022

Codecov Report

Merging #1093 (3b6c514) into main (8358e89) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1093   +/-   ##
=======================================
  Coverage   72.47%   72.47%           
=======================================
  Files          65       65           
  Lines        4847     4847           
=======================================
  Hits         3513     3513           
  Misses       1334     1334           

@dependabot dependabot bot force-pushed the dependabot/github_actions/Swatinem/rust-cache-2 branch from 1d2e580 to 410663a Compare December 5, 2022 06:10
Bumps [Swatinem/rust-cache](https://github.com/Swatinem/rust-cache) from 1 to 2.
- [Release notes](https://github.com/Swatinem/rust-cache/releases)
- [Changelog](https://github.com/Swatinem/rust-cache/blob/master/CHANGELOG.md)
- [Commits](Swatinem/rust-cache@v1...v2)

---
updated-dependencies:
- dependency-name: Swatinem/rust-cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/github_actions/Swatinem/rust-cache-2 branch from 410663a to 3b6c514 Compare December 12, 2022 05:37
@clux clux added the changelog-exclude changelog excluded prs label Dec 12, 2022
@clux clux added this to the 0.77.0 milestone Dec 12, 2022
Copy link
Member

@clux clux left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this one should be safe judging by the changelog, we don't use the changed keys afaikt

@clux
Copy link
Member

clux commented Dec 12, 2022

Did a quick re-run to ensure caching still worked on the test jobs, seems all fine.

@clux clux merged commit d1cc635 into main Dec 12, 2022
@clux clux deleted the dependabot/github_actions/Swatinem/rust-cache-2 branch December 12, 2022 07:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog-exclude changelog excluded prs dependencies upgrades to dependencies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants