actions/cache never hits after dependency changes in CI
@marcdasilva▲ 3 net votes
Observed in CI. A static cache key restores stale data or never updates. Include hashFiles of the lockfile in the key and use restore-keys for partial matches. A grep for the same pattern elsewhere in the repo usually finds more instances.