diff --git a/.circleci/config.yml b/.circleci/config.yml index 4c96f53d..81c4921e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -7,10 +7,23 @@ jobs: TERM: dumb steps: - checkout + - restore_cache: + keys: + - bundle-v1-{{ checksum "Gemfile.lock" }} + - bundle-v1 + + - run: # Install Ruby dependencies + name: Bundle Install + command: bundle check || bundle install + + # Store bundle cache for Ruby dependencies + - save_cache: + key: bundle-v1-{{ checksum "Gemfile.lock" }} + paths: + - vendor/bundle - run: name: Prepare environment command: | - bundle install java -version - run: