name: Build on: push: branches: [master] pull_request: jobs: rspec: runs-on: ubuntu-latest env: BUNDLE_JOBS: 4 BUNDLE_RETRY: 3 BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile strategy: fail-fast: false matrix: ruby: ["3.0", "3.1", "3.2", "3.3"] gemfile: ["rails61", "rails70"] exclude: - ruby: "3.1" gemfile: "rails61" steps: - uses: actions/checkout@v3 - name: Set up Ruby uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} bundler-cache: true - name: Run rspec run: bundle exec rspec