.circleci/config.yml in creditsafe-0.6.2 vs .circleci/config.yml in creditsafe-0.6.3
- old
+ new
@@ -1,17 +1,17 @@
-version: 2
-jobs:
- build:
- working_directory: ~/creditsafe-ruby
- docker:
- - image: ruby:2.5.0
- steps:
- - checkout
- - restore_cache:
- key: gemfile-{{ checksum "Gemfile" }}
- - run: bundle install --path vendor/bundle
- - save_cache:
- key: gemfile-{{ checksum "Gemfile" }}
- paths:
- - "vendor/bundle"
- - run: bundle exec rubocop
- - run: bundle exec rspec --format RspecJunitFormatter
+version: 2
+jobs:
+ build:
+ working_directory: ~/creditsafe-ruby
+ docker:
+ - image: ruby:2.5
+ steps:
+ - checkout
+ - restore_cache:
+ key: bundler-v1-{{ checksum "creditsafe.gemspec" }}-{{ checksum ".ruby-version" }}
+ - run: bundle install --path vendor/bundle
+ - save_cache:
+ key: bundler-v1-{{ checksum "creditsafe.gemspec" }}-{{ checksum ".ruby-version" }}
+ paths:
+ - "vendor/bundle"
+ - run: bundle exec rubocop
+ - run: bundle exec rspec --format RspecJunitFormatter