Skip to content

Commit

Permalink
Separately cache Appraisal gems in GH Action
Browse files Browse the repository at this point in the history
  • Loading branch information
bensheldon committed Jun 24, 2021
1 parent 129691c commit 456cfc2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,13 @@ jobs:
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- name: Ruby gem cache (including Appraisal gems)
uses: actions/cache@v1
with:
path: vendor/bundle
key: v1-bundler-${{ runner.os }}-${{ steps.ruby_version.outputs.value }}-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: |
v1-bundler-${{ runner.os }}-${{ steps.ruby_version.outputs.value }}-
- name: Install Appraisal gems
run: bundle exec appraisal install

Expand Down

0 comments on commit 456cfc2

Please sign in to comment.