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 uses: ruby/setup-ruby@v1
with: with:
ruby-version: ${{ matrix.ruby-version }} ruby-version: ${{ matrix.ruby-version }}
- name: Install dependencies bundler-cache: true # runs 'bundle install' and caches installed gems automatically
run: | - name: Lint and Test
bundle
- name: Test
run: | run: |
bundle exec rake ci bundle exec rake ci