setup-ruby icon indicating copy to clipboard operation
setup-ruby copied to clipboard

Use case-insensitive key comparison for cache keys

Open BytewaveMLP opened this issue 1 year ago • 0 comments

Following the discussion in #659, this PR introduces a case-insensitive cache key comparison function to compare the cache key returned from @actions/cache versus the calculated cache key for the purposes of partial-hits.

This implementation follows that which is used in actions/cache. Unfortunately, that implementation isn't in the accompanying Node package, so I've copied it here.

Closes #659

BytewaveMLP avatar Oct 21 '24 00:10 BytewaveMLP