From c2ed69da6ddf59d465a5fc94052ba651a7d859e5 Mon Sep 17 00:00:00 2001 From: cn Date: Sat, 26 Dec 2020 15:19:20 +0100 Subject: [PATCH] ci: use bundler cache to save resources - see https://github.com/ruby/setup-ruby#caching-bundle-install-automatically --- .github/workflows/ci.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index eb08ba7..64c1784 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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