name: Ruby on: [push, pull_request] jobs: test: runs-on: ${{ matrix.os }}-latest strategy: fail-fast: false matrix: os: - ubuntu ruby: - "2.5" - "2.6" - "2.7" - "3.0" - "3.1" - "3.2" steps: - uses: actions/checkout@v2 - name: Set up Ruby uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} bundler-cache: true # 'bundle install' and cache - name: Run tests run: bundle exec rake