name: Tests on: pull_request: push: branches: - master jobs: test: runs-on: ubuntu-latest strategy: matrix: ruby: [ '2.6', '2.7', '3.0' ] name: Tests with Ruby ${{ matrix.ruby }} steps: - uses: actions/checkout@v2 - uses: actions/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} - name: Run tests run: | gem install bundler bundle install bundle exec rake