Skip to content

Commit 724c50b

Browse files
authored
Update actions/checkout and actions/cache to v4, update runner to 24.04 (#181)
Signed-off-by: David Kwon <dakwon@redhat.com>
1 parent b135f1a commit 724c50b

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/dockerimage-next.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
steps:
2626

2727
- name: Cache Operator SDK ${{ env.OPERATOR_SDK_VERSION }}
28-
uses: actions/cache@v2
28+
uses: actions/cache@v4
2929
id: cache-operator-sdk
3030
with:
3131
path: ~/cache
@@ -45,7 +45,7 @@ jobs:
4545
echo "$HOME/bin" >> $GITHUB_PATH
4646
4747
- name: Cache OPM ${{ env.OPM_VERSION }}
48-
uses: actions/cache@v2
48+
uses: actions/cache@v4
4949
id: cache-opm
5050
with:
5151
path: ~/cache
@@ -66,7 +66,7 @@ jobs:
6666
echo "$HOME/bin" >> $GITHUB_PATH
6767
6868
- name: Checkout web-terminal-operator source code
69-
uses: actions/checkout@v2
69+
uses: actions/checkout@v4
7070

7171
- name: Login to quay.io
7272
uses: docker/login-action@v1

.github/workflows/pr-check.yml

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

1717
go:
1818
name: Check go sources
19-
runs-on: ubuntu-20.04
19+
runs-on: ubuntu-24.04
2020
steps:
2121
-
2222
name: Set up Go 1.x
@@ -25,11 +25,11 @@ jobs:
2525
go-version: 1.21.13
2626
-
2727
name: Check out code into the Go module directory
28-
uses: actions/checkout@v2
28+
uses: actions/checkout@v4
2929
-
3030
name: Cache go modules
3131
id: cache-mod
32-
uses: actions/cache@v2
32+
uses: actions/cache@v4
3333
with:
3434
path: ~/go/pkg/mod
3535
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
@@ -66,7 +66,7 @@ jobs:
6666
runs-on: ubuntu-latest
6767
steps:
6868
- name: Checkout web-terminal-operator source code
69-
uses: actions/checkout@v2
69+
uses: actions/checkout@v4
7070

7171
- name: "Check WTO Controller image"
7272
run: docker build -t wto-controller:test -f build/dockerfiles/controller.Dockerfile .

0 commit comments

Comments
 (0)