actions-rust-lang / setup-rust-toolchain

Setup a specific Rust toolchain with extra features like problem matchers
MIT License
193 stars 33 forks source link

The cache is not functioning effectively #36

Closed NPCDW closed 10 months ago

NPCDW commented 10 months ago

Could you please help me look at this issue, as I am unsure whether there is an issue with my method of use? https://github.com/Swatinem/rust-cache/issues/184

jonasbb commented 10 months ago

I think this is working as designed: https://github.com/Swatinem/rust-cache/issues/74 and https://github.com/actions/cache/blob/main/tips-and-workarounds.md#use-cache-across-feature-branches

Can you re-run all actions for a tag and see if you get a cache hit then? I expect that then you will get a cache hit.

NPCDW commented 10 months ago

Thank you for your answer, I understand now.