Skip to content

Releases: Swatinem/rust-cache

v2.7.3

14 Jan 08:32
v2.7.3
23bce25
Compare
Choose a tag to compare
  • Work around upstream problem that causes cache saving to hang for minutes.

Full Changelog: v2.7.2...v2.7.3

v2.7.2

10 Jan 18:36
v2.7.2
a226033
Compare
Choose a tag to compare

What's Changed

  • Update action runtime to node20 by @rhysd in #175
  • Only key by Cargo.toml and Cargo.lock files of workspace members by @max-heller in #180

New Contributors

Full Changelog: v2.7.1...v2.7.2

v2.7.0

12 Sep 17:36
v2.7.0
a95ba19
Compare
Choose a tag to compare

What's Changed

  • Fix save-if documentation in readme by @rukai in #166
  • Support for trybuild and similar macro testing tools by @neysofu in #168

New Contributors

Full Changelog: v2.6.2...v2.7.0

v2.6.2

20 Aug 08:31
v2.6.2
e207df5
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2...v2.6.2

v2.6.1

12 Aug 14:52
v2.6.1
578b235
Compare
Choose a tag to compare
  • Fix hash contributions of Cargo.lock/Cargo.toml files.

v2.6.0

02 Aug 11:09
v2.6.0
b8a6852
Compare
Choose a tag to compare

What's Changed

  • Add "buildjet" as a second cache-provider backend @joroshiba in #154
  • Clean up sparse registry index.
  • Do not clean up src of -sys crates.
  • Remove .cargo/credentials.toml before saving.

New Contributors

Full Changelog: v2.5.1...v2.6.0

v2.5.1

03 Jul 17:40
v2.5.1
dd05243
Compare
Choose a tag to compare
  • Fix hash contribution of Cargo.lock.

v2.5.0

18 Jun 13:34
v2.5.0
2656b87
Compare
Choose a tag to compare

What's Changed

  • feat: Rm workspace crates version before caching by @NobodyXu in #147
  • feat: Add hash of .cargo/config.toml to key by @NobodyXu in #149

New Contributors

Full Changelog: v2.4.0...v2.5.0

v2.4.0

21 May 17:37
v2.4.0
988c164
Compare
Choose a tag to compare
  • Fix cache key stability.
  • Use 8 character hash components to reduce the key length, making it more readable.

v2.3.0

13 May 10:18
v2.3.0
060bda3
Compare
Choose a tag to compare
  • Add cache-all-crates option, which enables caching of crates installed by workflows.
  • Add installed packages to cache key, so changes to workflows that install rust tools are detected and cached properly.
  • Fix cache restore failures due to upstream bug.
  • Fix EISDIR error due to globed directories.
  • Update runtime @actions/cache, @actions/io and dev typescript dependencies.
  • Update npm run prepare so it creates distribution files with the right line endings.