diff --git a/.github/workflows/code_check.yml b/.github/workflows/code_check.yml index 69fc6cd3..6716b2c9 100644 --- a/.github/workflows/code_check.yml +++ b/.github/workflows/code_check.yml @@ -33,6 +33,8 @@ jobs: with: path: ${{ env.sif_file }} key: ${{ runner.os }}-singularity-${{ hashFiles('~/resources/retinal-rl.def') }} + restore-keys: | + ${{ runner.os }}-singularity- - name: Pull Singularity container if: steps.cache-singularity.outputs.cache-hit != 'true' run: | diff --git a/.github/workflows/config_scan.yml b/.github/workflows/config_scan.yml index 9bc2faad..8f6051bd 100644 --- a/.github/workflows/config_scan.yml +++ b/.github/workflows/config_scan.yml @@ -20,6 +20,8 @@ jobs: with: path: ${{ env.sif_file }} key: ${{ runner.os }}-singularity-${{ hashFiles('~/resources/retinal-rl.def') }} + restore-keys: | + ${{ runner.os }}-singularity- - name: Pull Singularity container if: steps.cache-singularity.outputs.cache-hit != 'true' run: |