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 850196b commit 16506db
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 16506db

Please sign in to comment.