Skip to content

Commit f648838

Browse files
committed
workflows: use up-to-date actions
Use latest versions of checkout (v4) and setup-go (v3) action-helpers. Signed-off-by: Shachar Sharon <[email protected]>
1 parent b8145e0 commit f648838

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.github/workflows/main.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,20 @@ jobs:
1010
build:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/setup-go@v2
13+
- uses: actions/setup-go@v3
1414
with:
15-
go-version: ">=1.17.0"
16-
- uses: actions/checkout@v2
15+
go-version: ">=1.21.0"
16+
- uses: actions/checkout@v4
1717
- name: Build
1818
run: make
1919
# Run static/code-quality checks
2020
check:
2121
runs-on: ubuntu-latest
2222
steps:
23-
- uses: actions/setup-go@v2
23+
- uses: actions/setup-go@v3
2424
with:
25-
go-version: ">=1.17.0"
26-
- uses: actions/checkout@v2
25+
go-version: ">=1.21.0"
26+
- uses: actions/checkout@v4
2727
- name: Install build tools
2828
run: make build-tools
2929
- name: Run checks
@@ -32,7 +32,7 @@ jobs:
3232
runs-on: ubuntu-latest
3333
if: github.event_name == 'pull_request'
3434
steps:
35-
- uses: actions/checkout@v3
35+
- uses: actions/checkout@v4
3636
with:
3737
fetch-depth: 0
3838
ref: ${{ github.event.pull_request.head.sha }}
@@ -46,7 +46,7 @@ jobs:
4646
# image build step, so no need to do it twice.
4747
if: github.event_name == 'pull_request'
4848
steps:
49-
- uses: actions/checkout@v2
49+
- uses: actions/checkout@v4
5050
- name: Install fuse-overlayfs
5151
run: sudo apt-get -y install fuse-overlayfs
5252
- name: Setup podman config
@@ -74,7 +74,7 @@ jobs:
7474
# image build step, so no need to do it twice.
7575
if: github.event_name == 'pull_request'
7676
steps:
77-
- uses: actions/checkout@v2
77+
- uses: actions/checkout@v4
7878
- name: build container image
7979
# note: forcing use of podman here since we are
8080
# using podman explicitly for the push job
@@ -85,7 +85,7 @@ jobs:
8585
runs-on: ubuntu-latest
8686
if: github.event_name == 'push'
8787
steps:
88-
- uses: actions/checkout@v2
88+
- uses: actions/checkout@v4
8989
- name: log in to quay.io
9090
# using docker for now, since podman has an issue with space
9191
# consumption: image build fails with no space left on device...

0 commit comments

Comments
 (0)