mirror of
https://github.com/haml/haml.git
synced 2022-11-09 12:33:31 -05:00
Use bundler-cache: true
This commit is contained in:
parent
fdeee8828e
commit
40fd13d36c
1 changed files with 2 additions and 8 deletions
10
.github/workflows/test.yml
vendored
10
.github/workflows/test.yml
vendored
|
@ -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…
Add table
Reference in a new issue