Stop opening a null-device handle per Capture and spinner task #1687
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Ruby | |
| on: [push, pull_request] | |
| jobs: | |
| typecheck: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Set up Ruby | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| bundler-cache: true # runs 'bundle install' and caches installed gems automatically | |
| - name: Run typecheck | |
| run: bundle exec srb tc | |
| test: | |
| strategy: | |
| matrix: | |
| os: [macos-latest, ubuntu-latest] | |
| ruby-version: ['3.3', '3.4', '4.0'] | |
| runs-on: ${{ matrix.os }} | |
| env: | |
| BUNDLE_WITHOUT: typecheck | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Set up Ruby | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: ${{ matrix.ruby-version }} | |
| bundler-cache: true # runs 'bundle install' and caches installed gems automatically | |
| - name: Run tests | |
| run: bundle exec rake |