Skip to content

Commit ff20db9

Browse files
authored
Update pull_request.yml
1 parent b6de39e commit ff20db9

File tree

1 file changed

+2
-15
lines changed

1 file changed

+2
-15
lines changed

.github/workflows/pull_request.yml

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -8,23 +8,10 @@ jobs:
88
steps:
99
- uses: actions/checkout@v2
1010
- name: Setup Ruby
11-
uses: actions/setup-ruby@v1
11+
uses: ruby/setup-ruby@v1
1212
with:
1313
ruby-version: 3.1
14-
- name: Install bundler
15-
run: |
16-
gem install bundler:2.1.4
17-
bundle config path vendor/bundle
18-
- name: Cache gems
19-
uses: actions/cache@v1
20-
with:
21-
path: vendor/bundle
22-
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
23-
restore-keys: |
24-
${{ runner.os }}-gems-
25-
- name: Install gems
26-
if: steps.cache.outputs.cache-hit != 'true'
27-
run: bundle install --jobs 4 --retry 3
14+
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
2815
- name: Build and test with Rake/Rubocop
2916
env:
3017
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)