name: Ruby on: push: branches: [ master ] pull_request: branches: [ master ] jobs: test: runs-on: ubuntu-latest strategy: fail-fast: false matrix: ruby-version: ['2.6.2', '2.7.1', '3.0.1', '3.1.0', '3.2.0'] steps: - uses: actions/checkout@v2 - name: Set up Ruby uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby-version }} bundler-cache: true - name: Run rake tests run: bundle exec rake test - name: Run rubocop run: bundle exec rubocop