Skip to content

Commit

Permalink
Cache per ruby version
Browse files Browse the repository at this point in the history
  • Loading branch information
janklimo committed Jun 3, 2020
1 parent ddea646 commit b630078
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ jobs:
- uses: actions/cache@v2
with:
path: vendor/bundle
key: gems-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: gems-
key: gems-${{ matrix.ruby }}-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: gems-${{ matrix.ruby }}
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: "${{matrix.ruby}}"
ruby-version: ${{ matrix.ruby }}
- name: Install latest bundler
run: |
gem install bundler --no-document
Expand Down

0 comments on commit b630078

Please sign in to comment.