Skip to content

Commit 07d7fa1

Browse files
committed
bundle-install only on ruby 2.1
1 parent 5f993b8 commit 07d7fa1

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/test.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,13 @@ jobs:
2222
with:
2323
ruby-version: ${{ matrix.ruby }}
2424
- name: Install
25-
run: bundle install
25+
id: bundle
26+
run: |
27+
bundle install
28+
echo "::set-output name=exec::bundle exec"
29+
if: "matrix.ruby <= '2.1'"
2630
- name: Run test
27-
run: bundle exec rake test
31+
run: ${{steps.bundle.outputs.exec}} rake test
2832
- id: build
2933
run: |
3034
rake build

0 commit comments

Comments
 (0)