name: CI on: [push, pull_request] jobs: test: runs-on: ubuntu-20.04 strategy: fail-fast: false matrix: ruby: [2.5, 2.6, 2.7, '3.0', 3.1, 3.2] gemfile: ['mail28'] name: ruby ${{ matrix.ruby }}, ${{ matrix.gemfile }} env: BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile steps: - uses: actions/checkout@v3 - uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} bundler-cache: true - name: Run test run: | bundle exec rspec