Skip to content

Commit

Permalink
Merge pull request #9402 from joshcooper/bundler-cache-7.x
Browse files Browse the repository at this point in the history
[Backport 7.x] Use bundler-cache to bundle install and cache gems
  • Loading branch information
AriaXLi authored Jun 20, 2024
2 parents a48cff2 + b538172 commit 20775a9
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 @@ -27,6 +27,8 @@ jobs:
- {os: windows-2019, ruby: '3.0'}

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

- name: Update rubygems and install gems
run: |
gem update --system 3.3.26 --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 20775a9

Please sign in to comment.