GitHub caching with actions/cache have been the cause of multiple issues (#96, #116). Currently the functional test suite disables actions/cache with use-github-cache: false, so caching behavior is not as well documented and not checked when changes are proposed.
We may have to add some testing outputs to properly test caching behavior.
Test ideas
- run
lean-action twice and verify the cache from the first job is restored on the second job
- run
lean-action in a matrix of jobs where none should share caches
GitHub caching with
actions/cachehave been the cause of multiple issues (#96, #116). Currently the functional test suite disablesactions/cachewithuse-github-cache: false, so caching behavior is not as well documented and not checked when changes are proposed.We may have to add some testing outputs to properly test caching behavior.
Test ideas
lean-actiontwice and verify the cache from the first job is restored on the second joblean-actionin a matrix of jobs where none should share caches