diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index acde192..dae86d1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -7,6 +7,14 @@ variables: services: - docker:20.10.16-dind +# Cache common dependencies to speed up builds +cache: + key: ${CI_COMMIT_REF_SLUG} + paths: + - vendor/bundle + - tmp/cache + - .bundle + stages: - build - test