Skip to content

Commit 5b98317

Browse files
anoopcs9mergify[bot]
authored andcommitted
workflows: Update actions to avoid Node.js warning
"Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v3, actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github- actions-transitioning-from-node-16-to-node-20/." Use updated versions for setup-go[1] and checkout[2] to get rid of the above warnings. [1] https://github.com/actions/setup-go/releases/tag/v5.0.0 [2] https://github.com/actions/checkout/releases/tag/v4.0.0 Signed-off-by: Anoop C S <[email protected]>
1 parent a1286a7 commit 5b98317

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

.github/workflows/main.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,20 @@ jobs:
1111
build:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/setup-go@v3
14+
- uses: actions/setup-go@v5
1515
with:
1616
go-version: oldstable
17-
- uses: actions/checkout@v3
17+
- uses: actions/checkout@v4
1818
- name: Build
1919
run: make
2020
# Run static/code-quality checks
2121
check:
2222
runs-on: ubuntu-latest
2323
steps:
24-
- uses: actions/setup-go@v3
24+
- uses: actions/setup-go@v5
2525
with:
2626
go-version: oldstable
27-
- uses: actions/checkout@v3
27+
- uses: actions/checkout@v4
2828
- name: Install revive
2929
run: go install github.com/mgechev/revive@latest
3030
- name: Run checks
@@ -33,7 +33,7 @@ jobs:
3333
runs-on: ubuntu-latest
3434
if: github.event_name == 'pull_request'
3535
steps:
36-
- uses: actions/checkout@v3
36+
- uses: actions/checkout@v4
3737
with:
3838
fetch-depth: 0
3939
ref: ${{ github.event.pull_request.head.sha }}
@@ -44,10 +44,10 @@ jobs:
4444
test:
4545
runs-on: ubuntu-latest
4646
steps:
47-
- uses: actions/setup-go@v3
47+
- uses: actions/setup-go@v5
4848
with:
4949
go-version: oldstable
50-
- uses: actions/checkout@v3
50+
- uses: actions/checkout@v4
5151
- name: run the tests
5252
run: make test
5353
podmanbuild:
@@ -56,7 +56,7 @@ jobs:
5656
# image build step, so no need to do it twice.
5757
if: github.event_name == 'pull_request'
5858
steps:
59-
- uses: actions/checkout@v3
59+
- uses: actions/checkout@v4
6060
- name: Install fuse-overlayfs
6161
run: sudo apt-get -y install fuse-overlayfs
6262
- name: Setup podman config
@@ -84,7 +84,7 @@ jobs:
8484
# image build step, so no need to do it twice.
8585
if: github.event_name == 'pull_request'
8686
steps:
87-
- uses: actions/checkout@v3
87+
- uses: actions/checkout@v4
8888
- name: build container image
8989
# note: forcing use of podman here since we are
9090
# using podman explicitly for the push job
@@ -97,8 +97,8 @@ jobs:
9797
CONTAINER_CMD: docker
9898
PR_NUM: ${{ github.event.pull_request.number }}
9999
steps:
100-
- uses: actions/checkout@v3
101-
- uses: actions/setup-go@v3
100+
- uses: actions/checkout@v4
101+
- uses: actions/setup-go@v5
102102
with:
103103
go-version: oldstable
104104
- name: Install k3d
@@ -152,7 +152,7 @@ jobs:
152152
runs-on: ubuntu-latest
153153
if: github.event_name == 'push'
154154
steps:
155-
- uses: actions/checkout@v3
155+
- uses: actions/checkout@v4
156156
- name: log in to quay.io
157157
# using docker for now, since podman has an issue with space
158158
# consumption: image build fails with no space left on device...

0 commit comments

Comments
 (0)