diff --git a/action.yaml b/action.yaml index b7fb493..1fc8fa1 100644 --- a/action.yaml +++ b/action.yaml @@ -96,7 +96,7 @@ runs: - name: Restore Trivy binary from cache if: ${{ inputs.cache == 'true' && inputs.version != 'latest' }} id: cache - uses: actions/cache/restore@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 + uses: actions/cache/restore@2c8a9bd7457de244a408f35966fab2fb45fda9c8 # v6.0.0 with: path: ${{ steps.binary-dir.outputs.dir }} key: trivy-binary-${{ inputs.version }}-${{ runner.os }}-${{ runner.arch }} @@ -139,7 +139,7 @@ runs: ## So we need to save the binary right after installation. - name: Save Trivy binary to cache if: ${{ inputs.cache == 'true' && inputs.version != 'latest' && steps.cache.outputs.cache-hit != 'true' }} - uses: actions/cache/save@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 + uses: actions/cache/save@2c8a9bd7457de244a408f35966fab2fb45fda9c8 # v6.0.0 with: path: ${{ steps.binary-dir.outputs.dir }} key: trivy-binary-${{ inputs.version }}-${{ runner.os }}-${{ runner.arch }} \ No newline at end of file