Use bundler-cache: true
This commit is contained in:
parent
fdeee8828e
commit
40fd13d36c
|
@ -25,16 +25,10 @@ jobs:
|
|||
- truffleruby-head
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- run: sudo apt-get update && sudo apt-get install -y nodejs libxslt-dev # nodejs for execjs, libxslt for TruffleRuby nokogiri
|
||||
- name: Set up Ruby
|
||||
uses: ruby/setup-ruby@v1
|
||||
with:
|
||||
ruby-version: ${{ matrix.ruby }}
|
||||
- uses: actions/cache@v2
|
||||
with:
|
||||
path: vendor/bundle
|
||||
key: ${{ runner.os }}-${{ matrix.ruby }}-gems-${{ hashFiles('**/Gemfile.lock') }}
|
||||
restore-keys: ${{ runner.os }}-gems-
|
||||
- run: sudo apt-get update && sudo apt-get install -y nodejs libxslt-dev # nodejs for execjs, libxslt for TruffleRuby nokogiri
|
||||
- name: bundle install
|
||||
run: bundle config path vendor/bundle && bundle install -j$(nproc) --retry 3
|
||||
bundler-cache: true
|
||||
- run: bundle exec rake test
|
||||
|
|
Loading…
Reference in New Issue