.circleci/config.yml in legion-crypt-0.2.3 vs .circleci/config.yml in legion-crypt-0.3.0

- old
+ new

@@ -8,112 +8,85 @@ docker: - image: cimg/ruby:2.7 steps: - checkout - restore_cache: - key: "bundler-cache-mri-2" + key: "bundler cache mri" - run: bundle update - run: bundle exec rubocop --format=json --out=rubocop-result.json - store_test_results: path: rubocop-result.json - sonarcloud/scan - run: bundle exec rubocop - save_cache: - key: "bundler-cache-mri-2" + key: "bundler cache mri" paths: - "/usr/local/bundle" - - "/home/circleci/.rubygems" "ruby-two-five": docker: - image: cimg/ruby:2.5 - - image: rabbitmq:3.7 steps: - checkout - restore_cache: - key: "bundler-cache-mri-2" + key: "bundler cache mri" - run: bundle update - save_cache: - key: "bundler-cache-mri-2" + key: "bundler cache mri" paths: - "/usr/local/bundle" - - "/home/circleci/.rubygems" - run: bundle exec rspec --format progress --format RspecJunitFormatter -o rspec-results.xml - store_test_results: path: rspec-results.xml - sonarcloud/scan "ruby-two-six": docker: - image: cimg/ruby:2.6 - - image: rabbitmq:3.7 steps: - checkout - restore_cache: - key: "bundler-cache-mri-2" + key: "bundler cache mri" - run: bundle update - save_cache: - key: "bundler-cache-mri-2" + key: "bundler cache mri" paths: - "/usr/local/bundle" - - "/home/circleci/.rubygems" - run: bundle exec rspec --format progress --format RspecJunitFormatter -o rspec-results.xml - store_test_results: path: rspec-results.xml - sonarcloud/scan "ruby-two-seven": docker: - image: circleci/ruby:2.7 - - image: rabbitmq:3.7 steps: - checkout - restore_cache: - key: "bundler-cache-mri-2" + key: "bundler cache mri" - run: bundle update - save_cache: - key: "bundler-cache-mri-2" + key: "bundler cache mri" paths: - "/usr/local/bundle" - - "/home/circleci/.rubygems" - run: bundle exec rspec --format progress --format RspecJunitFormatter -o rspec-results.xml - store_test_results: path: rspec-results.xml - sonarcloud/scan - "jruby92-11jdk": + "ruby-three": docker: - - image: circleci/jruby:9.2-jre11 - - image: rabbitmq:3.7 + - image: circleci/ruby:3 steps: - checkout - restore_cache: - key: "bundler cache jruby92-11jdk" + key: "bundler cache mri" - run: bundle update - save_cache: - key: "bundler cache jruby92-11jdk" + key: "bundler cache mri" paths: - "/usr/local/bundle" - - "/home/circleci/.rubygems" - run: bundle exec rspec --format progress --format RspecJunitFormatter -o rspec-results.xml - store_test_results: path: rspec-results.xml - sonarcloud/scan - "jruby92-14jdk": - docker: - - image: circleci/jruby:9.2-jdk14 - - image: rabbitmq:3.7 - steps: - - checkout - - restore_cache: - key: "bundler cache jruby92-14jdk" - - run: bundle update - - save_cache: - key: "bundler cache jruby92-14jdk" - paths: - - "/usr/local/bundle" - - "/home/circleci/.rubygems" - - run: bundle exec rspec --format progress --format RspecJunitFormatter -o rspec-results.xml - - store_test_results: - path: rspec-results.xml - - sonarcloud/scan workflows: version: 2 rubocop-rspec: jobs: @@ -123,7 +96,10 @@ - rubocop - ruby-two-six: requires: - ruby-two-five - ruby-two-seven: + requires: + - ruby-two-five + - ruby-three: requires: - ruby-two-five \ No newline at end of file