name: CI on: [push, pull_request] jobs: test: name: Ruby ${{ matrix.ruby }} (${{ matrix.os }}) strategy: fail-fast: false matrix: os: [ubuntu-20.04, macos-10.15] ruby: [2.6, 2.7, 3.0] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v2 - uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} bundler-cache: true - run: bundle exec rspec