Update ruby.yml
This commit is contained in:
committed by
GitHub
parent
30cbf87b35
commit
947bb8d3d5
9
.github/workflows/ruby.yml
vendored
9
.github/workflows/ruby.yml
vendored
@@ -13,8 +13,17 @@ jobs:
|
|||||||
uses: actions/setup-ruby@v1
|
uses: actions/setup-ruby@v1
|
||||||
with:
|
with:
|
||||||
ruby-version: 2.6.x
|
ruby-version: 2.6.x
|
||||||
|
- name: Cache gems
|
||||||
|
uses: actions/cache@v1
|
||||||
|
with:
|
||||||
|
path: vendor/bundle
|
||||||
|
key: ${{ runner.os }}-gem-${{ hashFiles('**/Gemfile.lock') }}
|
||||||
|
restore-keys: |
|
||||||
|
${{ runner.os }}-gem-
|
||||||
- name: Build and test with Rake
|
- name: Build and test with Rake
|
||||||
run: |
|
run: |
|
||||||
gem install bundler
|
gem install bundler
|
||||||
|
bundle config force_ruby_platform true
|
||||||
|
bundle config path vendor/bundle
|
||||||
bundle install --jobs 4 --retry 3
|
bundle install --jobs 4 --retry 3
|
||||||
bundle exec rake
|
bundle exec rake
|
||||||
|
|||||||
Reference in New Issue
Block a user