version: 2 jobs: build: docker: - image: circleci/ruby:2.5-node steps: - checkout - restore_cache: keys: - vandal-bundle-v2-{{ checksum "vandal.gemspec" }} - run: name: Bundle Install command: bundle check || bundle install - save_cache: key: vandal-bundle-v2-{{ checksum "vandal.gemspec" }} paths: - vendor/bundle - run: name: Run Rspec command: bundle exec rspec