From 03b6fd5ea2111b8775d13883fcc9c116c02bc1c2 Mon Sep 17 00:00:00 2001 From: Matt Jankowski Date: Thu, 18 Jul 2024 13:56:09 -0400 Subject: [PATCH] Only cache on latest ruby version run? --- .github/workflows/test-ruby.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/test-ruby.yml b/.github/workflows/test-ruby.yml index 0e75a67b783..5d3186ae06e 100644 --- a/.github/workflows/test-ruby.yml +++ b/.github/workflows/test-ruby.yml @@ -138,6 +138,7 @@ jobs: bin/flatware fan bin/rails db:test:prepare - name: Cache RSpec persistence file + if: matrix.ruby-version == '.ruby-version' uses: actions/cache@v4 with: path: |