Skip to content

Commit 20775a9

Browse files
authored
Merge pull request #9402 from joshcooper/bundler-cache-7.x
[Backport 7.x] Use bundler-cache to bundle install and cache gems
2 parents a48cff2 + b538172 commit 20775a9

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

.github/workflows/rspec_tests.yaml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ jobs:
2727
- {os: windows-2019, ruby: '3.0'}
2828

2929
runs-on: ${{ matrix.cfg.os }}
30+
env:
31+
BUNDLE_SET: "without packaging documentation"
3032
steps:
3133
- name: Checkout current PR
3234
uses: actions/checkout@v4
@@ -35,12 +37,7 @@ jobs:
3537
uses: ruby/setup-ruby@v1
3638
with:
3739
ruby-version: ${{ matrix.cfg.ruby }}
38-
39-
- name: Update rubygems and install gems
40-
run: |
41-
gem update --system 3.3.26 --silent --no-document
42-
bundle config set without packaging documentation
43-
bundle install --jobs 4 --retry 3
40+
bundler-cache: true
4441

4542
- name: Run tests on Windows
4643
if: runner.os == 'Windows'

0 commit comments

Comments
 (0)