Skip to content

Commit 99c5cf5

Browse files
authored
Merge pull request #2893 from github/kenyonj-patch-1
Update pull_request.yml
2 parents 04995f0 + b8d94c9 commit 99c5cf5

File tree

2 files changed

+3
-17
lines changed

2 files changed

+3
-17
lines changed

.github/workflows/pull_request.yml

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -8,23 +8,9 @@ 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:
13-
ruby-version: 2.7
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
13+
bundler-cache: true
2814
- name: Build and test with Rake/Rubocop
2915
env:
3016
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.ruby-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.7.2
1+
3.1.0

0 commit comments

Comments
 (0)