Merge pull request #69 from taichi-ishitani/use_bundler_cache

Use 'bundler-cache' option
This commit is contained in:
Marc Siegel 2021-05-08 10:32:07 -04:00 committed by GitHub
commit 3cedc37018
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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