name: tests on: [push, pull_request] jobs: build: runs-on: ubuntu-latest strategy: matrix: ruby: [ '2.6', '3.2' ] steps: - uses: actions/checkout@v3 with: fetch-depth: 0 # i.e. full history, needed for tests - name: Set up Ruby ${{ matrix.ruby }} uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} - name: Install dependencies run: bundle install --jobs 4 - name: Test with Rake run: bundle exec rake