name: CI
on: [push, pull_request]
jobs:
  test:
    strategy:
      matrix:
        ruby: [2.7, 3.0]
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: ruby/setup-ruby@v1
        with:
          bundler-cache: true
          ruby-version: ${{ matrix.ruby }}
      - run: bundle exec rspec

name: CI
on: [push, pull_request]
jobs:
  test:
    strategy:
      matrix:
        ruby: [2.6, 2.7, 3.0]
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: ruby/setup-ruby@v1
        with:
          bundler-cache: true
          ruby-version: ${{ matrix.ruby }}
      - run: bundle exec rspec

Add Ruby 2.6 to GA workflow
Add Ruby 2.6 to GA workflow