Skip to content

Commit 02ec51a

Browse files
authored
chore(CI): use bundler-cache: true (#116)
1 parent 9c4db52 commit 02ec51a

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -28,19 +28,7 @@ jobs:
2828
uses: ruby/setup-ruby@v1
2929
with:
3030
ruby-version: ${{ matrix.ruby }}
31-
- name: Update rubygems
32-
run: |
33-
gem update --system
34-
- uses: actions/cache@v3
35-
with:
36-
path: vendor/bundle
37-
key: bundle-use-ruby-${{ matrix.ruby }}-${{ hashFiles('**/Gemfile.lock') }}
38-
restore-keys: |
39-
bundle-use-ruby-${{ matrix.ruby }}-
40-
- name: Bundle install
41-
run: |
42-
bundle config path vendor/bundle
43-
bundle install --jobs 4 --retry 3
31+
bundler-cache: true # 'bundle install' and cache gems
4432
- name: Run specs
4533
env:
4634
SIMPLECOV: ${{ matrix.coverage }}

0 commit comments

Comments
 (0)