Skip to content

Commit 97c0d2d

Browse files
committed
Simplify bundler cache on CI
1 parent 05f79ae commit 97c0d2d

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -30,17 +30,7 @@ jobs:
3030
uses: "ruby/setup-ruby@v1"
3131
with:
3232
ruby-version: "${{ matrix.ruby }}"
33-
34-
- name: "Generate lockfile"
35-
run: |
36-
bundle config path vendor/bundle
37-
bundle lock
38-
39-
- name: "Cache Ruby dependencies"
40-
uses: actions/cache@v2
41-
with:
42-
path: vendor/bundle
43-
key: bundle-${{ hashFiles('Gemfile.lock') }}
33+
bundler-cache: true
4434

4535
- name: Install NodeJS
4636
uses: actions/setup-node@v2

0 commit comments

Comments
 (0)