diff --git a/.github/actions/build-artefacts/action.yml b/.github/actions/build-artefacts/action.yml index 10dd2f94..5a6e27d4 100644 --- a/.github/actions/build-artefacts/action.yml +++ b/.github/actions/build-artefacts/action.yml @@ -7,7 +7,7 @@ runs: using: composite steps: - name: Restore build artefacts from the workflow cache - uses: actions/cache/restore@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 + uses: actions/cache/restore@caa296126883cff596d87d8935842f9db880ef25 # v5.1.0 with: # CAUTION: The cache key originates from `.github/workflows/integrity.yml`. key: build:${{ hashFiles('src/**/*', '!src/**/*.fixtures.*', '!src/**/*.mocks.*', '!src/**/*.tests.*', 'mise.toml', 'pnpm-lock.yaml', 'tsconfig.json', 'vite.config.ts') }} diff --git a/.github/actions/dependencies/action.yml b/.github/actions/dependencies/action.yml index a9b371d9..3b109ac3 100644 --- a/.github/actions/dependencies/action.yml +++ b/.github/actions/dependencies/action.yml @@ -36,7 +36,7 @@ runs: # - name: Restore the pnpm store from the workflow cache if: success() && steps.skip-if-already-installed.outputs.installed != 'true' - uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 + uses: actions/cache@caa296126883cff596d87d8935842f9db880ef25 # v5.1.0 with: key: pnpm:${{ hashFiles('mise.toml', 'pnpm-lock.yaml') }} restore-keys: 'pnpm:' diff --git a/.github/actions/task/action.yml b/.github/actions/task/action.yml index bf24c735..e765edd6 100644 --- a/.github/actions/task/action.yml +++ b/.github/actions/task/action.yml @@ -26,7 +26,7 @@ runs: steps: - name: Skip if already done id: skip-if-already-done - uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 + uses: actions/cache@caa296126883cff596d87d8935842f9db880ef25 # v5.1.0 with: # If an exact cache hit occurs, another workflow run has already run the task in the same context, and we can skip the remaining steps. # This is especially useful upon squashing commits where the source code itself does not change.