---
expeditor:
  cached_folders:
    - vendor
  defaults:
    buildkite:
      timeout_in_minutes: 30

steps:

- label: run-lint-and-specs-ruby-2.7
  command:
    - .expeditor/run_linux_tests.sh rake
  expeditor:
    executor:
      docker:
        image: ruby:2.7-buster

- label: run-lint-and-specs-ruby-3.0
  command:
    - .expeditor/run_linux_tests.sh rake
  expeditor:
    executor:
      docker:
        image: ruby:3.0-buster

- label: run-specs-windows
  command:
    - bundle config --local path vendor/bundle
    - bundle install --jobs=7 --retry=3 --without docs debug
    - bundle exec rake
  expeditor:
    executor:
      docker:
        host_os: windows

---
expeditor:
  cached_folders:
    - vendor
  defaults:
    buildkite:
      timeout_in_minutes: 30

steps:

- label: run-lint-and-specs-ruby-2.7
  command:
    - .expeditor/run_linux_tests.sh rake
  expeditor:
    executor:
      docker:
        image: ruby:2.7-buster

- label: run-lint-and-specs-ruby-3.0
  command:
    - .expeditor/run_linux_tests.sh rake
  expeditor:
    executor:
      docker:
        image: ruby:3.0-buster

- label: run-specs-windows
  command:
    - bundle config --local path vendor/bundle
    - bundle config set --local without docs debug
    - bundle install --jobs=7 --retry=3
    - bundle exec rake
  expeditor:
    executor:
      docker:
        host_os: windows

Replace deprecated --without flag with bundle config
Replace deprecated --without flag with bundle config

Signed-off-by: Swati Keshari <c680b5d9955c46c8dad4ecc06b5bea9588d924c3@msystechnologies.com>
