name: Test and Lint on Push and PR

on: [push, pull_request]

jobs:
  test:
    runs-on: "ubuntu-20.04"
    strategy:
      matrix:
        ruby:
          - 2.5
          - 2.6
          - 2.7
          - 3.0
    steps:
      - uses: actions/checkout@v2
      - uses: QuickPay/quickpay-base-action@v2.2
        with:
          rubocop: true
      - uses: ruby/setup-ruby@v1
        with:
          ruby-version: ${{ matrix.ruby }}
          bundler-cache: true
      - run: bundle exec rake
name: Test and Lint on Push and PR

on: [push, pull_request]

jobs:
  test:
    runs-on: "ubuntu-20.04"
    strategy:
      matrix:
        ruby:
          - 2.6
          - 2.7
          - 3.0
          - 3.1
    steps:
      - uses: actions/checkout@v2
      - uses: QuickPay/quickpay-base-action@v2.2
        with:
          rubocop: true
      - uses: ruby/setup-ruby@v1
        with:
          ruby-version: ${{ matrix.ruby }}
          bundler-cache: true
      - run: bundle exec rake

Add 3.1 to matrix, and remove EOL 2.5
Add 3.1 to matrix, and remove EOL 2.5