From 6cc9ceb125c4010ec06a4cb610d22acc0def28a2 Mon Sep 17 00:00:00 2001 From: Jeffrey Clark Date: Sun, 4 Aug 2024 16:18:01 +0000 Subject: [PATCH] fix ruby 2 workflow to use cache --- .github/workflows/ruby.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index 599af64c..41e7498b 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -13,8 +13,7 @@ jobs: uses: ruby/setup-ruby@v1 with: ruby-version: '2.7' + bundler: '2.4.22' + bundler-cache: true - name: Build and test with Rake - run: | - gem install bundler -v 2.4.22 - bundle install --jobs 4 --retry 3 - bundle exec rake + run: bundle exec rake