Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci(deps): bump Swatinem/rust-cache from 1 to 2 (#239)
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.7.0</h2> <ul> <li>Properly cache <code>trybuild</code> tests.</li> </ul> <h2>2.6.2</h2> <ul> <li>Fix <code>toml</code> parsing.</li> </ul> <h2>2.6.1</h2> <ul> <li>Fix hash contributions of <code>Cargo.lock</code>/<code>Cargo.toml</code> files.</li> </ul> <h2>2.6.0</h2> <ul> <li>Add "buildjet" as a second <code>cache-provider</code> backend.</li> <li>Clean up sparse registry index.</li> <li>Do not clean up src of <code>-sys</code> crates.</li> <li>Remove <code>.cargo/credentials.toml</code> before saving.</li> </ul> <h2>2.5.1</h2> <ul> <li>Fix hash contribution of <code>Cargo.lock</code>.</li> </ul> <h2>2.5.0</h2> <ul> <li>feat: Rm workspace crates version before caching.</li> <li>feat: Add hash of <code>.cargo/config.toml</code> to key.</li> </ul> <h2>2.4.0</h2> <ul> <li>Fix cache key stability.</li> <li>Use 8 character hash components to reduce the key length, making it more readable.</li> </ul> <h2>2.3.0</h2> <ul> <li>Add <code>cache-all-crates</code> option, which enables caching of crates installed by workflows.</li> <li>Add installed packages to cache key, so changes to workflows that install rust tools are detected and cached properly.</li> <li>Fix cache restore failures due to upstream bug.</li> <li>Fix <code>EISDIR</code> error due to globed directories.</li> <li>Update runtime <code>@actions/cache</code>, <code>@actions/io</code> and dev <code>typescript</code> dependencies.</li> <li>Update <code>npm run prepare</code> so it creates distribution files with the right line endings.</li> </ul> <h2>2.2.1</h2> <ul> <li>Update <code>@actions/cache</code> dependency to fix usage of <code>zstd</code> compression.</li> </ul> <h2>2.2.0</h2> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/Swatinem/rust-cache/commit/a95ba195448af2da9b00fb742d14ffaaf3c21f43"><code>a95ba19</code></a> 2.7.0</li> <li><a href="https://github.com/Swatinem/rust-cache/commit/82c8487d007b68015ad47c5dc623c24fc8a2475c"><code>82c8487</code></a> changelog</li> <li><a href="https://github.com/Swatinem/rust-cache/commit/67c46e7159c1cda89e8862165c2c30e6e8e222d1"><code>67c46e7</code></a> Support for <code>trybuild</code> and similar macro testing tools (<a href="https://redirect.github.com/swatinem/rust-cache/issues/168">#168</a>)</li> <li><a href="https://github.com/Swatinem/rust-cache/commit/44b60872836a3f1d4d9abcebaf6e5c4964a5a2ab"><code>44b6087</code></a> Fix save-if documentation in readme (<a href="https://redirect.github.com/swatinem/rust-cache/issues/166">#166</a>)</li> <li><a href="https://github.com/Swatinem/rust-cache/commit/e207df5d269b42b69c8bc5101da26f7d31feddb4"><code>e207df5</code></a> 2.6.2</li> <li><a href="https://github.com/Swatinem/rust-cache/commit/decb69d79089a7969704bc995e1f13862e27387d"><code>decb69d</code></a> Update dependencies and add changelog</li> <li><a href="https://github.com/Swatinem/rust-cache/commit/ab6b2769d1fafa9a8539fe22af55d8fd5ce69ed0"><code>ab6b276</code></a> dep: Use <code>smol-toml</code> instead of <code>toml</code> (<a href="https://redirect.github.com/swatinem/rust-cache/issues/164">#164</a>)</li> <li><a href="https://github.com/Swatinem/rust-cache/commit/578b235f6e5f613f7727f1c17bd3305b4d4d4e1f"><code>578b235</code></a> 2.6.1</li> <li><a href="https://github.com/Swatinem/rust-cache/commit/5113490c3f11f38e8c35c0160fad86b3ea51ebc6"><code>5113490</code></a> prepare 2.6.1</li> <li><a href="https://github.com/Swatinem/rust-cache/commit/c0e052c18c9b4a329d1bf4b7bc6d1ce0eba7bbee"><code>c0e052c</code></a> Fix hashing of parsed <code>Cargo.toml</code> (<a href="https://redirect.github.com/swatinem/rust-cache/issues/160">#160</a>)</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 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) </details>
- Loading branch information