Skip to content

Commit 70fe51a

Browse files
committed
Go back to bundle exec in CI
1 parent 739bd91 commit 70fe51a

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

.github/workflows/ruby.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,7 @@ jobs:
2626
# run: |
2727
# bundle exec danger
2828
- name: Rubocop
29-
run: |
30-
bundle install
31-
rubocop --autocorrect
29+
run: bundle exec rubocop --autocorrect
3230
Test:
3331
runs-on: ubuntu-latest
3432
strategy:
@@ -46,9 +44,7 @@ jobs:
4644
ruby-version: ${{ matrix.ruby-version }}
4745
bundler-cache: true
4846
- name: Run tests
49-
run: |
50-
bundle install
51-
rake test
47+
run: bundle exec rake test
5248
Demo:
5349
runs-on: ubuntu-latest
5450
steps:
@@ -61,9 +57,7 @@ jobs:
6157
ruby-version: 3.4
6258
- name: Run tests
6359
working-directory: demo
64-
run: |
65-
bundle install
66-
rake test:all
60+
run: bundle exec rake test:all
6761
# - name: Commit changed screenshots and other files
6862
# if: failure()
6963
# working-directory: demo

0 commit comments

Comments
 (0)