From 076b3a651434e88f285d7bc743d38fbf5fd321bc Mon Sep 17 00:00:00 2001 From: Rafael dos Santos Silva Date: Fri, 13 Jan 2023 11:39:49 -0300 Subject: [PATCH] DEV: Key bundler CI cache on Ruby version (#19868) --- .github/workflows/tests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 27cf46c90b1..706057c01bc 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -73,9 +73,9 @@ jobs: uses: actions/cache@v3 with: path: vendor/bundle - key: ${{ runner.os }}-gem-${{ hashFiles('**/Gemfile.lock') }} + key: ${{ runner.os }}-${{ matrix.ruby }}-gem-${{ hashFiles('**/Gemfile.lock') }} restore-keys: | - ${{ runner.os }}-gem- + ${{ runner.os }}-${{ matrix.ruby }}-gem- - name: Setup gems run: |