version: 2

jobs:
  build:
    docker:
      - image: circleci/ruby:2.6.3

    steps:
      - checkout

      - restore_cache:
          keys:
            - bitters-{{ arch }}-{{ checksum "bitters.gemspec" }}

      - run:
          name: Install Ruby dependencies
          command: bundle install --path vendor/bundle

      - save_cache:
          key: bitters-{{ arch }}-{{ checksum "bitters.gemspec" }}
          paths:
            - vendor/bundle

      - run:
          name: Run the tests
          command: bundle exec rake

version: 2

jobs:
  build:
    docker:
      - image: circleci/ruby:2.6.5

    steps:
      - checkout

      - restore_cache:
          keys:
            - bitters-{{ arch }}-{{ checksum "bitters.gemspec" }}

      - run:
          name: Install Ruby dependencies
          command: bundle install --path vendor/bundle

      - save_cache:
          key: bitters-{{ arch }}-{{ checksum "bitters.gemspec" }}
          paths:
            - vendor/bundle

      - run:
          name: Run the tests
          command: bundle exec rake

Use Ruby 2.6.5 in CircleCI
Use Ruby 2.6.5 in CircleCI
