Skip to content

Commit a6284f6

Browse files
committed
update actions/cache to v4
Signed-off-by: wanjunlei <wanjunlei@kubesphere.io>
1 parent deab794 commit a6284f6

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

.github/workflows/main.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
with:
3535
go-version: 1.20.x
3636

37-
- uses: actions/cache@v2
37+
- uses: actions/cache@v4
3838
with:
3939
path: ~/go/pkg/mod
4040
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
@@ -65,7 +65,7 @@ jobs:
6565
with:
6666
go-version: 1.20.x
6767

68-
- uses: actions/cache@v2
68+
- uses: actions/cache@v4
6969
with:
7070
path: ~/go/pkg/mod
7171
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
@@ -88,7 +88,7 @@ jobs:
8888
with:
8989
go-version: 1.20.x
9090

91-
- uses: actions/cache@v2
91+
- uses: actions/cache@v4
9292
with:
9393
path: ~/go/pkg/mod
9494
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}

.github/workflows/push-nm-image.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
with:
4444
go-version: 1.20.x
4545

46-
- uses: actions/cache@v2
46+
- uses: actions/cache@v4
4747
with:
4848
path: ~/go/pkg/mod
4949
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}

.github/workflows/push-operator-image.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
with:
4545
go-version: 1.20.x
4646

47-
- uses: actions/cache@v2
47+
- uses: actions/cache@v4
4848
with:
4949
path: ~/go/pkg/mod
5050
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}

.github/workflows/push-sidecar-image.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
with:
4444
go-version: 1.20.x
4545

46-
- uses: actions/cache@v2
46+
- uses: actions/cache@v4
4747
with:
4848
path: ~/go/pkg/mod
4949
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}

0 commit comments

Comments
 (0)