name: test on: push: branches: - master pull_request: branches: - "*" jobs: build: runs-on: ubuntu-latest name: Ruby ${{ matrix.ruby }} strategy: matrix: ruby: - '3.1' - '3.0' - '2.7' - '2.6' - '2.5' - '2.4' - '2.3' steps: - uses: actions/checkout@v2 - uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} bundler-cache: true - run: bundle exec rake test