workflows/tests: cache update-test's bundler.

This is only run on macOS for some reason but no harm in caching on
both.
This commit is contained in:
Mike McQuaid 2023-02-17 15:44:05 +00:00
parent c9e0971a84
commit 9c96bf1832
No known key found for this signature in database
GPG Key ID: 3338A31AFDB1D829

View File

@ -224,6 +224,16 @@ jobs:
id: set-up-homebrew id: set-up-homebrew
uses: Homebrew/actions/setup-homebrew@master uses: Homebrew/actions/setup-homebrew@master
- name: Cache Bundler RubyGems
uses: actions/cache@v1
with:
path: ${{ steps.set-up-homebrew.outputs.gems-path }}
key: ${{ runner.os }}-rubygems-${{ steps.set-up-homebrew.outputs.gems-hash }}
restore-keys: ${{ runner.os }}-rubygems-
- name: Install Bundler RubyGems
run: brew install-bundler-gems
- name: Run brew update-tests - name: Run brew update-tests
run: | run: |
brew update-test brew update-test