diff --git a/.github/workflows/build-daily.yaml b/.github/workflows/build-daily.yaml index b1c1ecdfa3..96dd6e24e3 100644 --- a/.github/workflows/build-daily.yaml +++ b/.github/workflows/build-daily.yaml @@ -54,7 +54,7 @@ jobs: run: | echo "::set-output name=date::$(date -u "+%Y-%m")" - name: Restore Go Cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/go/pkg/mod key: ${{ runner.os }}-go-${{ steps.get-date.outputs.date }}-${{ hashFiles('**/go.sum') }} diff --git a/.github/workflows/build-staging.yaml b/.github/workflows/build-staging.yaml index 89745d83e3..919db52ffb 100644 --- a/.github/workflows/build-staging.yaml +++ b/.github/workflows/build-staging.yaml @@ -50,7 +50,7 @@ jobs: run: | echo "::set-output name=date::$(date -u "+%Y-%m")" - name: Restore Go Cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/go/pkg/mod key: ${{ runner.os }}-go-${{ steps.get-date.outputs.date }}-${{ hashFiles('**/go.sum') }} diff --git a/.github/workflows/check-all.yaml b/.github/workflows/check-all.yaml index 9a581a7636..fa372fead6 100644 --- a/.github/workflows/check-all.yaml +++ b/.github/workflows/check-all.yaml @@ -42,7 +42,7 @@ jobs: run: | echo "::set-output name=date::$(date -u "+%Y-%m")" - name: Restore Go Cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/go/pkg/mod key: ${{ runner.os }}-go-${{ steps.get-date.outputs.date }}-${{ hashFiles('**/go.sum') }} diff --git a/.github/workflows/check-lint.yaml b/.github/workflows/check-lint.yaml index dfe628d056..d464ebb158 100644 --- a/.github/workflows/check-lint.yaml +++ b/.github/workflows/check-lint.yaml @@ -34,7 +34,7 @@ jobs: echo "::set-output name=date::$(date -u "+%Y-%m")" - name: Restore Lint Cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ${{ runner.temp }}/lint_cache key: ${{ runner.os }}-lint-cache-${{ steps.get-date.outputs.date }} diff --git a/.github/workflows/check-pr-diagnostics-plugin.yaml b/.github/workflows/check-pr-diagnostics-plugin.yaml index 0af6270fd1..dfa0f2f5ae 100644 --- a/.github/workflows/check-pr-diagnostics-plugin.yaml +++ b/.github/workflows/check-pr-diagnostics-plugin.yaml @@ -54,7 +54,7 @@ jobs: run: | echo "::set-output name=date::$(date -u "+%Y-%m")" - name: Restore Go Cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/go/pkg/mod key: ${{ runner.os }}-go-${{ steps.get-date.outputs.date }}-${{ hashFiles('**/go.sum') }} diff --git a/.github/workflows/check-pr-docker-management.yaml b/.github/workflows/check-pr-docker-management.yaml index e49a9d68c7..01e7acc309 100644 --- a/.github/workflows/check-pr-docker-management.yaml +++ b/.github/workflows/check-pr-docker-management.yaml @@ -51,7 +51,7 @@ jobs: run: | echo "::set-output name=date::$(date -u "+%Y-%m")" - name: Restore Go Cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/go/pkg/mod key: ${{ runner.os }}-go-${{ steps.get-date.outputs.date }}-${{ hashFiles('**/go.sum') }} diff --git a/.github/workflows/e2e-aws-management-and-workload-cluster.yaml b/.github/workflows/e2e-aws-management-and-workload-cluster.yaml index 61b0c14c01..0fe4da7873 100644 --- a/.github/workflows/e2e-aws-management-and-workload-cluster.yaml +++ b/.github/workflows/e2e-aws-management-and-workload-cluster.yaml @@ -58,7 +58,7 @@ jobs: echo "::set-output name=date::$(date -u "+%Y-%m")" - name: Restore Go Cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/go/pkg/mod key: ${{ runner.os }}-go-${{ steps.get-date.outputs.date }}-${{ hashFiles('**/go.sum') }} diff --git a/.github/workflows/e2e-azure-management-and-workload-cluster.yaml b/.github/workflows/e2e-azure-management-and-workload-cluster.yaml index 04af7d4044..b879e5e792 100644 --- a/.github/workflows/e2e-azure-management-and-workload-cluster.yaml +++ b/.github/workflows/e2e-azure-management-and-workload-cluster.yaml @@ -59,7 +59,7 @@ jobs: echo "::set-output name=date::$(date -u "+%Y-%m")" - name: Restore Go Cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/go/pkg/mod key: ${{ runner.os }}-go-${{ steps.get-date.outputs.date }}-${{ hashFiles('**/go.sum') }} diff --git a/.github/workflows/e2e-vsphere-management-and-workload-cluster.yaml b/.github/workflows/e2e-vsphere-management-and-workload-cluster.yaml index 53b3c0b96a..07c0825529 100644 --- a/.github/workflows/e2e-vsphere-management-and-workload-cluster.yaml +++ b/.github/workflows/e2e-vsphere-management-and-workload-cluster.yaml @@ -28,7 +28,7 @@ jobs: echo "::set-output name=date::$(date -u "+%Y-%m")" - name: Restore Go Cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/go/pkg/mod key: ${{ runner.os }}-go-${{ steps.get-date.outputs.date }}-${{ hashFiles('**/go.sum') }} diff --git a/.github/workflows/release-bucket.yaml b/.github/workflows/release-bucket.yaml index f3ff976867..561df99de5 100644 --- a/.github/workflows/release-bucket.yaml +++ b/.github/workflows/release-bucket.yaml @@ -58,7 +58,7 @@ jobs: run: | echo "::set-output name=date::$(date -u "+%Y-%m")" - name: Restore Go Cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/go/pkg/mod key: ${{ runner.os }}-go-${{ steps.get-date.outputs.date }}-${{ hashFiles('**/go.sum') }} diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 6fbe42a030..bf555068a9 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -58,7 +58,7 @@ jobs: run: | echo "::set-output name=date::$(date -u "+%Y-%m")" - name: Restore Go Cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/go/pkg/mod key: ${{ runner.os }}-go-${{ steps.get-date.outputs.date }}-${{ hashFiles('**/go.sum') }}