diff --git a/.github/workflows/canary.yaml b/.github/workflows/canary.yaml index 79fbb726145a..788475265eac 100644 --- a/.github/workflows/canary.yaml +++ b/.github/workflows/canary.yaml @@ -25,7 +25,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Restore Trivy binaries from cache - uses: actions/cache@v3.3.2 + uses: actions/cache@v4.2.0 with: path: dist/ key: ${{ runner.os }}-bins-${{github.workflow}}-${{github.sha}} diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 8441e1cd3a1b..ec5e4648dd77 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -24,7 +24,7 @@ jobs: fetch-depth: 0 - name: Restore Trivy binaries from cache - uses: actions/cache@v3.3.2 + uses: actions/cache@v4.2.0 with: path: dist/ key: ${{ runner.os }}-bins-${{github.workflow}}-${{github.sha}} diff --git a/.github/workflows/reusable-release.yaml b/.github/workflows/reusable-release.yaml index 4943da9522e7..8c9934acfb13 100644 --- a/.github/workflows/reusable-release.yaml +++ b/.github/workflows/reusable-release.yaml @@ -121,7 +121,7 @@ jobs: public.ecr.aws/aquasecurity/trivy:canary - name: Cache Trivy binaries - uses: actions/cache@v3.3.2 + uses: actions/cache@v4.2.0 with: path: dist/ # use 'github.sha' to create a unique cache folder for each run.