Skip to content

Commit 12f5b4b

Browse files
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](actions/cache@v2...v4) --- updated-dependencies: - dependency-name: actions/cache dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
1 parent 47e9a5d commit 12f5b4b

4 files changed

Lines changed: 11 additions & 11 deletions

File tree

.github/workflows/PR-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,14 +115,14 @@ jobs:
115115
- name: Cache binaries
116116
id: cached_binaries
117117
if: needs.changes.outputs.build == 'true'
118-
uses: actions/cache@v3
118+
uses: actions/cache@v4
119119
with:
120120
key: "cached-binaries-${{ matrix.os }}-${{ github.sha }}"
121121
path: go.mod
122122

123123
- name: Cache build output
124124
if: steps.cached_binaries.outputs.cache-hit != 'true' && needs.changes.outputs.build == 'true'
125-
uses: actions/cache@v3
125+
uses: actions/cache@v4
126126
with:
127127
path: ${{ matrix.cache-path }}
128128
key: v1-go-pkg-mod-${{ matrix.os }}-${{ hashFiles('**/go.sum') }}

.github/workflows/test-build-docker.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767

6868
- name: Cache container
6969
id: cached_container
70-
uses: actions/cache@v3
70+
uses: actions/cache@v4
7171
with:
7272
key: "cached_container_${{ github.sha }}"
7373
path: go.mod
@@ -150,7 +150,7 @@ jobs:
150150

151151
- name: Cache win zip
152152
id: cached_win_zip
153-
uses: actions/cache@v3
153+
uses: actions/cache@v4
154154
with:
155155
key: "cached_win_zip_${{ github.sha }}_${{ inputs.PackageBucketKey }}_${{ inputs.Bucket }}_${{ inputs.BucketKey }}"
156156
path: go.mod
@@ -203,7 +203,7 @@ jobs:
203203

204204
- name: Cache msi
205205
id: cached_msi
206-
uses: actions/cache@v3
206+
uses: actions/cache@v4
207207
with:
208208
key: "cached_msi_${{ github.sha }}"
209209
path: go.mod
@@ -335,7 +335,7 @@ jobs:
335335

336336
- name: Cache sig
337337
id: cached_sig
338-
uses: actions/cache@v3
338+
uses: actions/cache@v4
339339
with:
340340
key: "cached_sig_${{ github.sha }}"
341341
path: go.mod

.github/workflows/test-build-packages.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,14 +90,14 @@ jobs:
9090

9191
- name: Cache binaries
9292
id: cached_binaries
93-
uses: actions/cache@v3
93+
uses: actions/cache@v4
9494
with:
9595
key: "cached-binaries-${{ runner.os }}-${{ inputs.BucketKey }}"
9696
path: go.mod
9797

9898
- name: Cache pkg
9999
if: contains(inputs.BucketKey, 'test') == false || steps.cached_binaries.outputs.cache-hit == false
100-
uses: actions/cache@v3
100+
uses: actions/cache@v4
101101
with:
102102
path: |
103103
~/Library/Caches/go-build
@@ -154,7 +154,7 @@ jobs:
154154

155155
- name: Cache sig
156156
id: cached_sig
157-
uses: actions/cache@v3
157+
uses: actions/cache@v4
158158
with:
159159
key: "cached_sig_${{ github.sha }}"
160160
path: go.mod

.github/workflows/test-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,15 +89,15 @@ jobs:
8989

9090
- name: Cache binaries
9191
id: cached_binaries
92-
uses: actions/cache@v3
92+
uses: actions/cache@v4
9393
with:
9494
key: "cached_binaries_${{ github.sha }}_${{ inputs.PackageBucketKey }}_${{ inputs.Bucket }}_${{ inputs.BucketKey }}"
9595
path: go.mod
9696

9797
- name: Cache go
9898
# Only skip for integration builds not release builds.
9999
if: contains(inputs.BucketKey, 'test') == false || steps.cached_binaries.outputs.cache-hit == false
100-
uses: actions/cache@v3
100+
uses: actions/cache@v4
101101
with:
102102
path: |
103103
~/go/pkg/mod

0 commit comments

Comments
 (0)