name: ci on: [pull_request, push] jobs: test: strategy: fail-fast: false matrix: ruby: - "2.7" rails_version: - "7.0" - "5.2" runs-on: ubuntu-latest env: BUNDLE_GEMFILE: gemfiles/rails${{ matrix.rails_version }}.gemfile steps: - uses: actions/checkout@v3 - uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} bundler-cache: true # runs 'bundle install' and caches installed gems automatically - run: bundle exec rake