Skip to content

Commit

Permalink
chore(CI): use bundler-cache: true (#116)
Browse files Browse the repository at this point in the history
  • Loading branch information
olleolleolle authored Sep 10, 2024
1 parent 9c4db52 commit 02ec51a
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,19 +28,7 @@ jobs:
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Update rubygems
run: |
gem update --system
- uses: actions/cache@v3
with:
path: vendor/bundle
key: bundle-use-ruby-${{ matrix.ruby }}-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: |
bundle-use-ruby-${{ matrix.ruby }}-
- name: Bundle install
run: |
bundle config path vendor/bundle
bundle install --jobs 4 --retry 3
bundler-cache: true # 'bundle install' and cache gems
- name: Run specs
env:
SIMPLECOV: ${{ matrix.coverage }}
Expand Down

0 comments on commit 02ec51a

Please sign in to comment.