diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2022-11-17 16:27:11 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-17 16:27:11 +0000 |
commit | 04b907c11f1ab32373a51af86ca18df4905f4612 (patch) | |
tree | 3e22802c16ff3779ecd03ff6049ec79b14e6aa41 | |
parent | dd6ba2e7abb6891fb44111e8ab8a1168773ebd01 (diff) | |
parent | 7b3cae765e3bdcda63987942b7640be695bb0408 (diff) |
Merge #9
9: Bump swatinem/rust-cache from 1 to 2 r=matthiasbeyer a=dependabot[bot]
Bumps [swatinem/rust-cache](https://github.com/swatinem/rust-cache) from 1 to 2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/swatinem/rust-cache/releases">swatinem/rust-cache's releases</a>.</em></p>
<blockquote>
<h2>v2.0.0</h2>
<ul>
<li>The action code was refactored to allow for caching multiple workspaces and
different <code>target</code> directory layouts.</li>
<li>The <code>working-directory</code> and <code>target-dir</code> input options were replaced by a
single <code>workspaces</code> option that has the form of <code>$workspace -> $target</code>.</li>
<li>Support for considering <code>env-vars</code> as part of the cache key.</li>
<li>The <code>sharedKey</code> input option was renamed to <code>shared-key</code> for consistency.</li>
</ul>
<h2>v1.4.0</h2>
<ul>
<li>Clean both debug and release target directories.</li>
</ul>
<h2>v1.3.0</h2>
<ul>
<li>Use Rust toolchain file as additional cache key.</li>
<li>Allow for a configurable target-dir.</li>
</ul>
<h2>v1.2.0</h2>
<ul>
<li>Cache <code>~/.cargo/bin</code>.</li>
<li>Support for custom <code>$CARGO_HOME</code>.</li>
<li>Add a <code>cache-hit</code> output.</li>
<li>Add a new <code>sharedKey</code> option that overrides the automatic job-name based key.</li>
</ul>
<h2>v1.1.0</h2>
<ul>
<li>Add a new <code>working-directory</code> input.</li>
<li>Support caching git dependencies.</li>
<li>Lots of other improvements.</li>
</ul>
<h2>v1.0.1</h2>
<ul>
<li>Improved logging output.</li>
<li>Make sure to consider <code>all-features</code> dependencies when pruning.</li>
<li>Work around macOS cache corruption.</li>
<li>Remove git-db cache for now.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/Swatinem/rust-cache/blob/master/CHANGELOG.md">swatinem/rust-cache's changelog</a>.</em></p>
<blockquote>
<h1>Changelog</h1>
<h2>2.2.0</h2>
<ul>
<li>Add new <code>save-if</code> option to always restore, but only conditionally save the cache.</li>
</ul>
<h2>2.1.0</h2>
<ul>
<li>Only hash <code>Cargo.{lock,toml}</code> files in the configured workspace directories.</li>
</ul>
<h2>2.0.2</h2>
<ul>
<li>Avoid calling <code>cargo metadata</code> on pre-cleanup.</li>
<li>Added <code>prefix-key</code>, <code>cache-directories</code> and <code>cache-targets</code> options.</li>
</ul>
<h2>2.0.1</h2>
<ul>
<li>Primarily just updating dependencies to fix GitHub deprecation notices.</li>
</ul>
<h2>2.0.0</h2>
<ul>
<li>The action code was refactored to allow for caching multiple workspaces and
different <code>target</code> directory layouts.</li>
<li>The <code>working-directory</code> and <code>target-dir</code> input options were replaced by a
single <code>workspaces</code> option that has the form of <code>$workspace -> $target</code>.</li>
<li>Support for considering <code>env-vars</code> as part of the cache key.</li>
<li>The <code>sharedKey</code> input option was renamed to <code>shared-key</code> for consistency.</li>
</ul>
<h2>1.4.0</h2>
<ul>
<li>Clean both <code>debug</code> and <code>release</code> target directories.</li>
</ul>
<h2>1.3.0</h2>
<ul>
<li>Use Rust toolchain file as additional cache key.</li>
<li>Allow for a configurable target-dir.</li>
</ul>
<h2>1.2.0</h2>
<ul>
<li>Cache <code>~/.cargo/bin</code>.</li>
<li>Support for custom <code>$CARGO_HOME</code>.</li>
<li>Add a <code>cache-hit</code> output.</li>
<li>Add a new <code>sharedKey</code> option that overrides the automatic job-name based key.</li>
</ul>
<h2>1.1.0</h2>
<ul>
<li>Add a new <code>working-directory</code> input.</li>
<li>Support caching git dependencies.</li>
<li>Lots of other improvements.</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/Swatinem/rust-cache/commit/359a70e43a0bb8a13953b04a90f76428b4959bb6"><code>359a70e</code></a> 2.2.0</li>
<li><a href="https://github.com/Swatinem/rust-cache/commit/ecee04e7b3bb7e01aa0e74847926637ed30cece1"><code>ecee04e</code></a> feat: add save-if option, closes <a href="https://github-redirect.dependabot.com/swatinem/rust-cache/issues/66">#66</a> (<a href="https://github-redirect.dependabot.com/swatinem/rust-cache/issues/91">#91</a>)</li>
<li><a href="https://github.com/Swatinem/rust-cache/commit/b894d59a8d236e2979b247b80dac8d053ab340dd"><code>b894d59</code></a> 2.1.0</li>
<li><a href="https://github.com/Swatinem/rust-cache/commit/e78327dd9e1bcfc7649184444ae8237927d9d642"><code>e78327d</code></a> small code style improvements, README and CHANGELOG updates</li>
<li><a href="https://github.com/Swatinem/rust-cache/commit/ccdddcc049ade70033bdfbaaf5faacbd36db0529"><code>ccdddcc</code></a> only hash Cargo.toml/Cargo.lock that belong to a configured workspace (<a href="https://github-redirect.dependabot.com/swatinem/rust-cache/issues/90">#90</a>)</li>
<li><a href="https://github.com/Swatinem/rust-cache/commit/b5ec9edd911d3bf82c74038b0a28791e0aa24d6f"><code>b5ec9ed</code></a> 2.0.2</li>
<li><a href="https://github.com/Swatinem/rust-cache/commit/3f2513fdf484da3bcfe60b1b40921055681bcdbf"><code>3f2513f</code></a> avoid calling cargo metadata on pre-cleanup</li>
<li><a href="https://github.com/Swatinem/rust-cache/commit/19c46583c5f55acd15dfe7d621a72aa406d76eb2"><code>19c4658</code></a> update dependencies</li>
<li><a href="https://github.com/Swatinem/rust-cache/commit/b8e72aae8381e4b9942ff10e8ec0fcd359dc5246"><code>b8e72aa</code></a> Added <code>prefix-key</code> <code>cache-directories</code> and <code>cache-targets</code> options (<a href="https://github-redirect.dependabot.com/swatinem/rust-cache/issues/85">#85</a>)</li>
<li><a href="https://github.com/Swatinem/rust-cache/commit/22c9328bcba27aa81a32b1bef27c7e3c78052531"><code>22c9328</code></a> 2.0.1</li>
<li>Additional commits viewable in <a href="https://github.com/swatinem/rust-cache/compare/v1...v2">compare view</a></li>
</ul>
</details>
<br />
[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=swatinem/rust-cache&package-manager=github_actions&previous-version=1&new-version=2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
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-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
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)
</details>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-rw-r--r-- | .github/workflows/ci.yml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2b57554..65ec56a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,7 +26,7 @@ jobs: with: toolchain: ${{ matrix.rust }} override: true - - uses: swatinem/rust-cache@v1 + - uses: swatinem/rust-cache@v2 - name: cargo-check uses: actions-rs/cargo@v1 with: @@ -102,7 +102,7 @@ jobs: with: toolchain: ${{ matrix.rust }} override: true - - uses: swatinem/rust-cache@v1 + - uses: swatinem/rust-cache@v2 - name: cargo-test uses: actions-rs/cargo@v1 with: @@ -119,7 +119,7 @@ jobs: with: toolchain: 1.60.0 override: true - - uses: swatinem/rust-cache@v1 + - uses: swatinem/rust-cache@v2 - run: rustup component add clippy - name: cargo-clippy run: cargo clippy --all --all-targets -- -D warnings |