Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@rhysd
Copy link
Contributor

@rhysd rhysd commented Feb 7, 2025

GitHub announced Linux arm64 hosted runners.

Now GitHub Actions supports both x86_64 and arm64 for Linux. However rust-cache action doesn't include the CPU arch in the cache key. For example:

v0-rust-unit-test-Linux-ec67c29d-227d31a8

This PR includes CPU arch in the generated cache key so that it can ensure different caches are created on different CPU architectures and they are not mixed up.

@rhysd rhysd changed the title Include CPU arch in the cache key Include CPU arch in the cache key for arm64 Linux runners Feb 7, 2025
@Swatinem Swatinem merged commit 27b8ea9 into Swatinem:master Feb 8, 2025
22 checks passed
@edmorley
Copy link
Contributor

I don't suppose you could release a new rust-cache version with this fix? :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants