From 181aa23a8b38abaa3d9f8bd65ebaaab64ebc6a59 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 24 Apr 2024 05:40:52 +0000 Subject: [PATCH] Bump actions/cache from 2 to 4 Bumps [actions/cache](https://github.com/actions/cache) from 2 to 4. - [Release notes](https://github.com/actions/cache/releases) - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md) - [Commits](https://github.com/actions/cache/compare/v2...v4) --- updated-dependencies: - dependency-name: actions/cache dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/crds-verify-kind.yaml | 6 +++--- .github/workflows/e2e-test-kind.yaml | 12 ++++++------ .github/workflows/pr-ci-check.yml | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/crds-verify-kind.yaml b/.github/workflows/crds-verify-kind.yaml index dc99cdaa30..8ababc60e4 100644 --- a/.github/workflows/crds-verify-kind.yaml +++ b/.github/workflows/crds-verify-kind.yaml @@ -19,7 +19,7 @@ jobs: # Look for a CLI that's made for this PR - name: Fetch built CLI id: cache - uses: actions/cache@v2 + uses: actions/cache@v4 env: cache-name: cache-velero-cli with: @@ -31,7 +31,7 @@ jobs: velero-${{ github.event.pull_request.number }}- - name: Fetch cached go modules - uses: actions/cache@v2 + uses: actions/cache@v4 if: steps.cache.outputs.cache-hit != 'true' with: path: ~/go/pkg/mod @@ -69,7 +69,7 @@ jobs: steps: - name: Fetch built CLI id: cache - uses: actions/cache@v2 + uses: actions/cache@v4 env: cache-name: cache-velero-cli with: diff --git a/.github/workflows/e2e-test-kind.yaml b/.github/workflows/e2e-test-kind.yaml index d8fa8a1ec2..3a019031ad 100644 --- a/.github/workflows/e2e-test-kind.yaml +++ b/.github/workflows/e2e-test-kind.yaml @@ -19,20 +19,20 @@ jobs: # Look for a CLI that's made for this PR - name: Fetch built CLI id: cli-cache - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: ./_output/bin/linux/amd64/velero # The cache key a combination of the current PR number and the commit SHA key: velero-cli-${{ github.event.pull_request.number }}-${{ github.sha }} - name: Fetch built image id: image-cache - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: ./velero.tar # The cache key a combination of the current PR number and the commit SHA key: velero-image-${{ github.event.pull_request.number }}-${{ github.sha }} - name: Fetch cached go modules - uses: actions/cache@v2 + uses: actions/cache@v4 if: steps.cli-cache.outputs.cache-hit != 'true' with: path: ~/go/pkg/mod @@ -95,13 +95,13 @@ jobs: image: "kindest/node:v${{ matrix.k8s }}" - name: Fetch built CLI id: cli-cache - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: ./_output/bin/linux/amd64/velero key: velero-cli-${{ github.event.pull_request.number }}-${{ github.sha }} - name: Fetch built Image id: image-cache - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: ./velero.tar key: velero-image-${{ github.event.pull_request.number }}-${{ github.sha }} @@ -110,7 +110,7 @@ jobs: kind load image-archive velero.tar # always try to fetch the cached go modules as the e2e test needs it either - name: Fetch cached go modules - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: ~/go/pkg/mod key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} diff --git a/.github/workflows/pr-ci-check.yml b/.github/workflows/pr-ci-check.yml index 102cb0ba7c..1da24a85dd 100644 --- a/.github/workflows/pr-ci-check.yml +++ b/.github/workflows/pr-ci-check.yml @@ -15,7 +15,7 @@ jobs: - name: Check out the code uses: actions/checkout@v4 - name: Fetch cached go modules - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: ~/go/pkg/mod key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}