diff --git a/.github/workflows/self-test.yml b/.github/workflows/self-test.yml index 1797995..5226810 100644 --- a/.github/workflows/self-test.yml +++ b/.github/workflows/self-test.yml @@ -45,7 +45,7 @@ jobs: - name: Cache the build artifacts id: cache-build - uses: actions/cache@v5 + uses: actions/cache@2c8a9bd7457de244a408f35966fab2fb45fda9c8 # v6.0.0 with: path: build key: ${{ runner.os }}-${{ hashFiles('docs/examples/demo/**') }} diff --git a/action.yml b/action.yml index 3440cb0..e1ae22d 100644 --- a/action.yml +++ b/action.yml @@ -265,7 +265,7 @@ runs: - name: Enable cache if: inputs.cache-enable == 'true' || inputs.cache-enable == true - uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v5.0.1 + uses: actions/cache@2c8a9bd7457de244a408f35966fab2fb45fda9c8 # v6.0.0 with: path: ${{ runner.temp }}/cpp-linter-action-cache key: cpp-linter-action_${{ runner.os }}_${{ steps.compute-cache-key.outputs.key }}