From 12d2271f953679f215ee83102e1fa37ae6af413f Mon Sep 17 00:00:00 2001 From: Christoph Haas Date: Fri, 6 Jun 2025 23:19:59 +0200 Subject: [PATCH] speed up build with cache --- .gitlab-ci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) 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