Skip to content

Commit

Permalink
Merge pull request #9400 from joshcooper/bundler-cache
Browse files Browse the repository at this point in the history
Use bundler-cache to bundle install and cache gems
  • Loading branch information
AriaXLi committed Jun 20, 2024
2 parents 5349dc9 + 86820ee commit 1a0ec94
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/rspec_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ jobs:
- {os: windows-2019, ruby: '3.2'} # openssl 3

runs-on: ${{ matrix.cfg.os }}
env:
BUNDLE_SET: "without packaging documentation"
steps:
- name: Checkout current PR
uses: actions/checkout@v4
Expand All @@ -32,12 +34,7 @@ jobs:
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.cfg.ruby }}

- name: Update rubygems and install gems
run: |
gem update --system --silent --no-document
bundle config set without packaging documentation
bundle install --jobs 4 --retry 3
bundler-cache: true

- name: Run tests on Windows
if: runner.os == 'Windows'
Expand Down

0 comments on commit 1a0ec94

Please sign in to comment.