Bump the dev-dependencies group across 1 directory with 6 updates #1618
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: | |
| style: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Set up Ruby | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| bundler-cache: true | |
| - name: Check style | |
| run: bundle exec rake style | |
| typecheck: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Set up Ruby | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| bundler-cache: true | |
| - name: Typecheck | |
| run: bundle exec srb tc | |
| test: | |
| strategy: | |
| matrix: | |
| os: [macos-latest, ubuntu-latest] | |
| ruby-version: ['3.1', '3.2', '3.3', '3.4'] | |
| 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 | |
| - name: Run tests | |
| run: bundle exec rake test |