diff --git a/setup-db/action.yaml b/setup-db/action.yaml index d4d99ed..d38083f 100644 --- a/setup-db/action.yaml +++ b/setup-db/action.yaml @@ -24,7 +24,7 @@ runs: run: | echo "current-date=$(date +%Y-%m-%d)" >> $GITHUB_OUTPUT - id: restore-db - uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4 + uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v5 with: path: ${{ inputs.cache-dir }} key: trivy-db-${{ steps.current-date.outputs.current-date }} diff --git a/setup-trivy/action.yaml b/setup-trivy/action.yaml index 702e2d8..6137d2a 100644 --- a/setup-trivy/action.yaml +++ b/setup-trivy/action.yaml @@ -40,7 +40,7 @@ runs: echo "VERSION=$VERSION" >> $GITHUB_OUTPUT - name: Cache Trivy binary id: cache-trivy - uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4 + uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v5 with: path: /usr/local/bin/trivy key: trivy-${{ steps.version.outputs.version }}-${{ steps.arch.outputs.arch }}