Closed max-sixty closed 1 year ago
Your workflow looks good to me.
This actions sets some environment variables which can affect the cache keys used by Swatinem/rust-cache and can make cargo incapable of using old caches (e.g., incremental is turned off). That should settle itself after you create a new cache with the new data and key. You only enable cache storage on main save-if: ${{ github.ref == 'refs/heads/main' }}
so you wouldn't see that yet.
I'm confident everything will work out if you merge the code. You can test everything in a fork to make sure the cache storing on the main branch works.
Thanks — that makes sense, I'll close!
We use some more specific cache settings than this action offers. I tried disabling the cache from this action, and adding another step, but: