ci: use bundler cache to save resources

- see https://github.com/ruby/setup-ruby#caching-bundle-install-automatically
This commit is contained in:
cn 2020-12-26 15:19:20 +01:00
parent b2d421154e
commit c2ed69da6d
1 changed files with 2 additions and 4 deletions

View File

@ -26,9 +26,7 @@ jobs:
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
- name: Install dependencies
run: |
bundle
- name: Test
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- name: Lint and Test
run: |
bundle exec rake ci