Skip to content

Commit b371a16

Browse files
committed
switch from actions/setup-ruby to ruby/setup-ruby
1 parent f41c403 commit b371a16

File tree

1 file changed

+3
-13
lines changed

1 file changed

+3
-13
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -16,21 +16,11 @@ jobs:
1616
- name: Checkout code
1717
uses: actions/checkout@v2
1818

19-
- name: Cache gem dependencies
20-
uses: actions/cache@v1
21-
with:
22-
path: vendor/bundle
23-
key: ${{ runner.os }}-${{ matrix.ruby }}-bundle
24-
2519
- name: Setup Ruby
2620
uses: actions/setup-ruby@v1
27-
with: { ruby-version: '${{ matrix.ruby }}' }
28-
29-
- name: Bundle install
30-
run: |
31-
gem install bundler
32-
bundle config path vendor/bundle
33-
bundle install --jobs 4 --retry 3
21+
with:
22+
ruby-version: '${{ matrix.ruby }}'
23+
bundler-cache: true
3424

3525
- name: Run tests
3626
run: bundle exec rspec

0 commit comments

Comments
 (0)