1
0
Fork 0
mirror of https://github.com/ms-ati/docile synced 2023-03-27 23:21:52 -04:00

use 'bundler-cache' option instead of running 'bundle install' directly

This commit is contained in:
Taichi Ishitani 2021-05-08 08:27:30 +09:00
parent a778fd6c78
commit 8158993762
2 changed files with 2 additions and 3 deletions

View file

@ -21,6 +21,5 @@ jobs:
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: false
- run: bundle install
bundler-cache: true
- run: bundle exec rspec

View file

@ -14,7 +14,7 @@ begin
# Due to circular dependency (simplecov depends on docile), remove docile and require again below
Object.send(:remove_const, :Docile)
$LOADED_FEATURES.reject! { |f| f =~ /\/docile\// }
$LOADED_FEATURES.reject! { |f| f =~ /\/lib\/docile/ }
rescue LoadError
warn "warning: simplecov or codecov gems not found; skipping coverage"
end