Skip to content

Commit 1a0ec94

Browse files
authored
Merge pull request #9400 from joshcooper/bundler-cache
Use bundler-cache to bundle install and cache gems
2 parents 5349dc9 + 86820ee commit 1a0ec94

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

.github/workflows/rspec_tests.yaml

+3-6
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ jobs:
2424
- {os: windows-2019, ruby: '3.2'} # openssl 3
2525

2626
runs-on: ${{ matrix.cfg.os }}
27+
env:
28+
BUNDLE_SET: "without packaging documentation"
2729
steps:
2830
- name: Checkout current PR
2931
uses: actions/checkout@v4
@@ -32,12 +34,7 @@ jobs:
3234
uses: ruby/setup-ruby@v1
3335
with:
3436
ruby-version: ${{ matrix.cfg.ruby }}
35-
36-
- name: Update rubygems and install gems
37-
run: |
38-
gem update --system --silent --no-document
39-
bundle config set without packaging documentation
40-
bundle install --jobs 4 --retry 3
37+
bundler-cache: true
4138

4239
- name: Run tests on Windows
4340
if: runner.os == 'Windows'

0 commit comments

Comments
 (0)