diff --git a/.github/workflows/test-ruby.yml b/.github/workflows/test-ruby.yml index 5d3186ae06e..2801de2bacc 100644 --- a/.github/workflows/test-ruby.yml +++ b/.github/workflows/test-ruby.yml @@ -138,13 +138,13 @@ 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: | tmp/rspec/examples.txt key: rspec-persistence-${{ github.head_ref || github.ref_name }}-${{ github.sha }} restore-keys: | + rspec-persistence-${{ github.head_ref || github.ref_name }}-${{ github.sha }}-${{ matrix.ruby-version }} rspec-persistence-${{ github.head_ref || github.ref_name }}-${{ github.sha }} rspec-persistence-${{ github.head_ref || github.ref_name }} rspec-persistence-main