diff --git a/.github/workflows/ruby_tests.yml b/.github/workflows/ruby_tests.yml index 29b50feb7..93e1b8bef 100644 --- a/.github/workflows/ruby_tests.yml +++ b/.github/workflows/ruby_tests.yml @@ -2,45 +2,19 @@ name: Ruby Tests on: pull_request jobs: - Test_ruby_2_0_0: - runs-on: ubuntu-18.04 - strategy: - fail-fast: false - steps: - - uses: actions/checkout@v2 - - name: Install RVM - run: | - gpg --keyserver hkps://keys.openpgp.org --recv-keys 7D2BAF1CF37B13E2069D6956105BD0E739499BDB - \curl -sSL https://get.rvm.io | bash -s stable - source $HOME/.rvm/scripts/rvm - rvm install 2.0.0 - - name: Setup - run: | - source $HOME/.rvm/scripts/rvm - rvm use 2.0.0 - gem install bundler -v '~> 1.3' - bundle install --jobs=3 --retry=3 - - name: Run tests - run: | - source $HOME/.rvm/scripts/rvm - rvm use 2.0.0 - bundle exec rake Test_ruby: runs-on: ubuntu-latest strategy: fail-fast: false matrix: - ruby-version: ['2.5.3', '2.7.4', '3.0.2'] + ruby-version: ['2.0.0', '2.5.3', '2.7.4', '3.0.2'] steps: - uses: actions/checkout@v2 - name: Setup Ruby uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby-version }} - - name: Setup - run: | - gem install bundler - bundle install --jobs=3 --retry=3 + bundler-cache: true - name: Run tests run: | bundle exec rake