Skip to content

Commit e265a35

Browse files
benoittgtJonRowe
andauthored
Reduce dup by moving env and continue-on-error before steps
Co-authored-by: Jon Rowe <[email protected]>
1 parent 7667604 commit e265a35

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -81,16 +81,13 @@ jobs:
8181
- ruby: 2.2.10
8282
env:
8383
RAILS_VERSION: '~> 5.0.0'
84+
env: ${{ matrix.env }}
85+
continue-on-error: ${{ matrix.allow_failure || false }}
8486
steps:
8587
- uses: actions/checkout@v2
8688
- uses: ruby/setup-ruby@v1
8789
with:
8890
ruby-version: ${{ matrix.ruby }}
89-
bundler-cache: false
90-
- run: script/update_rubygems_and_install_bundler
91-
env: ${{ matrix.env }}
9291
- run: script/clone_all_rspec_repos
93-
env: ${{ matrix.env }}
94-
- run: bundle install --binstubs && script/run_build
95-
env: ${{ matrix.env }}
96-
continue-on-error: ${{ matrix.allow_failure || false }}
92+
- run: bundle binstubs rspec rspec-core rake cucumber rails
93+
- run: script/run_build

0 commit comments

Comments
 (0)