From 18f415f2b0bde0d669ce9f62478f4c6d97c32c97 Mon Sep 17 00:00:00 2001 From: Yetrina Battad Date: Mon, 18 Sep 2023 09:59:53 +1000 Subject: [PATCH] ci: cache bundled gems in GitHub verify workflow --- .github/workflows/verify.yml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/verify.yml b/.github/workflows/verify.yml index 00fad02d..d65d51b7 100644 --- a/.github/workflows/verify.yml +++ b/.github/workflows/verify.yml @@ -27,10 +27,8 @@ jobs: - name: Install Ruby uses: ruby/setup-ruby@v1 - - - name: Install gems - run: | - bundle install + with: + bundler-cache: true - name: RuboCop run: | @@ -71,10 +69,8 @@ jobs: - name: Install Ruby uses: ruby/setup-ruby@v1 - - - name: Install gems - run: | - bundle install + with: + bundler-cache: true - name: Set up MySQL run: |