samvera / samvera-circleci-orb

An orb with a set of tasks to centralize testing infrastructure for Samvera Core Components
Apache License 2.0
0 stars 3 forks source link

Add caching to rubocop? #44

Closed cjcolvar closed 3 years ago

cjcolvar commented 4 years ago

I wonder if it makes sense to cache the output of rubocop to reduce the time it takes to run since our files aren't usually changing that much and it can save significant amount of time locally. I'm not sure exactly how rubocop's caching works and if it would work to do it in a CI environment or what exactly the cache key should look like.

See https://docs.rubocop.org/rubocop/usage/caching.html

rotated8 commented 3 years ago

Closing as fixed in #46