Skip to content

ci: update swatinem/rust-cache action to v2#335

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/swatinem-rust-cache-2.x
Open

ci: update swatinem/rust-cache action to v2#335
renovate[bot] wants to merge 1 commit intomainfrom
renovate/swatinem-rust-cache-2.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Apr 18, 2026

This PR contains the following updates:

Package Type Update Change
Swatinem/rust-cache action major v1.4.0v2.9.1

Release Notes

Swatinem/rust-cache (Swatinem/rust-cache)

v2.9.1

Compare Source

Fix regression in hash calculation

Full Changelog: Swatinem/rust-cache@v2.9.0...v2.9.1

v2.9.0

Compare Source

What's Changed
New Contributors

Full Changelog: Swatinem/rust-cache@v2.8.2...v2.9.0

v2.8.2

Compare Source

What's Changed
New Contributors

Full Changelog: Swatinem/rust-cache@v2.8.1...v2.8.2

v2.8.1

Compare Source

What's Changed
New Contributors

Full Changelog: Swatinem/rust-cache@v2...v2.8.1

v2.8.0

Compare Source

What's Changed
New Contributors

Full Changelog: Swatinem/rust-cache@v2.7.8...v2.8.0

v2.7.8

Compare Source

What's Changed
  • Include CPU arch in the cache key for arm64 Linux runners by @​rhysd in #​228

Full Changelog: Swatinem/rust-cache@v2.7.7...v2.7.8

v2.7.7

Compare Source

Full Changelog: Swatinem/rust-cache@v2.7.6...v2.7.7

v2.7.6

Compare Source

What's Changed
New Contributors

Full Changelog: Swatinem/rust-cache@v2.7.5...v2.7.6

v2.7.5

Compare Source

What's Changed
New Contributors

Full Changelog: Swatinem/rust-cache@v2.7.3...v2.7.5

v2.7.3

Compare Source

  • Work around upstream problem that causes cache saving to hang for minutes.

Full Changelog: Swatinem/rust-cache@v2.7.2...v2.7.3

v2.7.2

Compare Source

What's Changed
New Contributors

Full Changelog: Swatinem/rust-cache@v2.7.1...v2.7.2

v2.7.1

Compare Source

v2.7.0

Compare Source

What's Changed
New Contributors

Full Changelog: Swatinem/rust-cache@v2.6.2...v2.7.0

v2.6.2

Compare Source

What's Changed

Full Changelog: Swatinem/rust-cache@v2...v2.6.2

v2.6.1

Compare Source

  • Fix hash contributions of Cargo.lock/Cargo.toml files.

v2.6.0

Compare Source

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: Swatinem/rust-cache@v2.5.1...v2.6.0

v2.5.1

Compare Source

  • Fix hash contribution of Cargo.lock.

v2.5.0

Compare Source

What's Changed
New Contributors

Full Changelog: Swatinem/rust-cache@v2.4.0...v2.5.0

v2.4.0

Compare Source

  • Fix cache key stability.
  • Use 8 character hash components to reduce the key length, making it more readable.

v2.3.0

Compare Source

  • 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.

v2.2.1

Compare Source

  • Update @actions/cache dependency to fix usage of zstd compression.

v2.2.0

Compare Source

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

v2.1.0

Compare Source

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

v2.0.2

Compare Source

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

v2.0.1

Compare Source

  • Primarily just updating dependencies to fix GitHub deprecation notices.

v2.0.0

Compare Source

  • 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.

v2

Compare Source


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@kodiakhq kodiakhq Bot removed the automerge label Apr 18, 2026
@kodiakhq
Copy link
Copy Markdown

kodiakhq Bot commented Apr 18, 2026

This PR currently has a merge conflict. Please resolve this and then re-add the automerge label.

@renovate renovate Bot force-pushed the renovate/swatinem-rust-cache-2.x branch 3 times, most recently from a72ed65 to 3be47bc Compare April 19, 2026 14:06
@renovate renovate Bot changed the title ci: update swatinem/rust-cache action to v2 ci: update swatinem/rust-cache action to v2 - autoclosed Apr 20, 2026
@renovate renovate Bot closed this Apr 20, 2026
@renovate renovate Bot deleted the renovate/swatinem-rust-cache-2.x branch April 20, 2026 10:08
@renovate renovate Bot changed the title ci: update swatinem/rust-cache action to v2 - autoclosed ci: update swatinem/rust-cache action to v2 Apr 21, 2026
@renovate renovate Bot reopened this Apr 21, 2026
@renovate renovate Bot force-pushed the renovate/swatinem-rust-cache-2.x branch 2 times, most recently from 3be47bc to de90bb0 Compare April 21, 2026 23:00
@renovate renovate Bot force-pushed the renovate/swatinem-rust-cache-2.x branch from de90bb0 to 5b53b74 Compare April 29, 2026 18:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants