name: Ruby on: [push, pull_request] jobs: test: strategy: fail-fast: false matrix: os: [ubuntu-latest] ruby: [2.7, 3.0] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v2 - uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} bundler-cache: true # runs 'bundle install' and caches installed gems automatically - run: | gem install bundler bundle config path vendor/bundle bundle install --jobs 4 --retry 3 bundle exec rspec