Skip to content

Commit

Permalink
Reduce dup by moving env and continue-on-error before steps
Browse files Browse the repository at this point in the history
Co-authored-by: Jon Rowe <hello@jonrowe.co.uk>
  • Loading branch information
benoittgt and JonRowe authored Nov 21, 2020
1 parent 7667604 commit e265a35
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,16 +81,13 @@ jobs:
- ruby: 2.2.10
env:
RAILS_VERSION: '~> 5.0.0'
env: ${{ matrix.env }}
continue-on-error: ${{ matrix.allow_failure || false }}
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: false
- run: script/update_rubygems_and_install_bundler
env: ${{ matrix.env }}
- run: script/clone_all_rspec_repos
env: ${{ matrix.env }}
- run: bundle install --binstubs && script/run_build
env: ${{ matrix.env }}
continue-on-error: ${{ matrix.allow_failure || false }}
- run: bundle binstubs rspec rspec-core rake cucumber rails
- run: script/run_build

0 comments on commit e265a35

Please # to comment.