Speed up rubocop CI job with caching gems
What
Enables gem caching on rubocop CI job.
Why
To make rubocop CI job much faster.
Results
20% faster compared with jobs without caching:
Job ID # |
rubocop duration /s |
Ratio | Link to the Job |
---|---|---|---|
58369762 (without gem cache) | 82 | 100.0 | https://gitlab.com/tnir/omnibus-gitlab/-/jobs/58369762 |
58372098 (with gem cache) | 65 | 79.2 | https://gitlab.com/tnir/omnibus-gitlab/-/jobs/58372098 |
Background
Recently #3268 (closed) made one 6x faster.
Closes #3300 (closed)
Edited by GitLab Release Tools Bot