From 51199b66a2bcd312934c0d883c479bf71504f03f Mon Sep 17 00:00:00 2001 From: jossmoff Date: Sun, 12 Nov 2023 21:57:16 +0000 Subject: [PATCH] :construction_worker: Fixing mutation testing pipeline --- .github/workflows/cicd.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cicd.yaml b/.github/workflows/cicd.yaml index 04de533..5b0c38c 100644 --- a/.github/workflows/cicd.yaml +++ b/.github/workflows/cicd.yaml @@ -37,9 +37,9 @@ jobs: uses: actions/cache/restore@v3 with: path: .mutmut-cache - key: mutmut-cache-${{ github.head_ref }}-${{ hashFiles('bookshelf/*.py') }} + key: mutmut-cache-${{ github.ref_name }}-${{ hashFiles('bookshelf/*.py') }} restore-keys: | - mutmut-cache-${{ github.ref_name || 'main'}} + mutmut-cache-${{ github.ref_name }} mutmut-cache-main - name: 🦠 Run Mutation Tests @@ -57,4 +57,4 @@ jobs: uses: actions/cache/save@v3 with: path: .mutmut-cache - key: mutmut-cache-${{ github.head_ref }}-${{ hashFiles('bookshelf/*.py') }} + key: mutmut-cache-${{ github.ref_name }}-${{ hashFiles('bookshelf/*.py') }}