summaryrefslogtreecommitdiffstats
path: root/CLI/ruby
diff options
context:
space:
mode:
Diffstat (limited to 'CLI/ruby')
-rw-r--r--CLI/ruby/.gitlab-ci.yml9
1 files changed, 8 insertions, 1 deletions
diff --git a/CLI/ruby/.gitlab-ci.yml b/CLI/ruby/.gitlab-ci.yml
index 914821f..f96599c 100644
--- a/CLI/ruby/.gitlab-ci.yml
+++ b/CLI/ruby/.gitlab-ci.yml
@@ -9,7 +9,8 @@ stages:
variables:
BUNDLE_PATH: .bundle/vendor
-cache:
+cache: &cache
+ policy: pull-push
key:
files:
- Gemfile.lock
@@ -29,11 +30,17 @@ build:
test:
stage: test
needs: [build]
+ cache:
+ <<: *cache
+ policy: pull
script:
- bundle exec rspec
lint:
stage: test
needs: [build]
+ cache:
+ <<: *cache
+ policy: pull
script:
- bundle exec rubocop