[review] 常に終了ステータス0を返すようにするためのcliオプションを追加 #120
This file contains 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: | |
branches: [master] | |
pull_request: | |
jobs: | |
rspec: | |
runs-on: ubuntu-latest | |
env: | |
BUNDLE_JOBS: 4 | |
BUNDLE_RETRY: 3 | |
strategy: | |
fail-fast: false | |
matrix: | |
ruby: ["3.0", "3.1", "3.2"] | |
steps: | |
- uses: actions/[email protected] | |
- uses: actions/cache@v3 | |
with: | |
path: /home/runner/bundle | |
key: bundle-${{ matrix.ruby }}-${{ hashFiles('**/*.gemspec') }} | |
restore-keys: | | |
bundle-${{ matrix.ruby }}- | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
bundler-cache: true | |
- name: Run rspec | |
run: bundle exec rspec |