Skip to content

Commit c1d9ccf

Browse files
committed
workflows: upgrade setup-go and checkout actions
Use latest github actions: setup-go@v6 and checkout@v5. Signed-off-by: Shachar Sharon <[email protected]>
1 parent c1e7c77 commit c1d9ccf

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
@@ -14,20 +14,20 @@ jobs:
1414
build:
1515
runs-on: ubuntu-latest
1616
steps:
17-
- uses: actions/setup-go@v5
17+
- uses: actions/setup-go@v6
1818
with:
1919
go-version: "stable"
20-
- uses: actions/checkout@v4
20+
- uses: actions/checkout@v5
2121
- name: Build
2222
run: make
2323
# Run static/code-quality checks
2424
check:
2525
runs-on: ubuntu-latest
2626
steps:
27-
- uses: actions/setup-go@v5
27+
- uses: actions/setup-go@v6
2828
with:
2929
go-version: "stable"
30-
- uses: actions/checkout@v4
30+
- uses: actions/checkout@v5
3131
- name: Install build tools
3232
run: make build-tools
3333
- name: Run checks
@@ -36,7 +36,7 @@ jobs:
3636
runs-on: ubuntu-latest
3737
if: github.event_name == 'pull_request'
3838
steps:
39-
- uses: actions/checkout@v4
39+
- uses: actions/checkout@v5
4040
with:
4141
fetch-depth: 0
4242
ref: ${{ github.event.pull_request.head.sha }}
@@ -48,10 +48,10 @@ jobs:
4848
needs: [build, check]
4949
runs-on: ubuntu-latest
5050
steps:
51-
- uses: actions/setup-go@v5
51+
- uses: actions/setup-go@v6
5252
with:
5353
go-version: "stable"
54-
- uses: actions/checkout@v4
54+
- uses: actions/checkout@v5
5555
- name: Run tests
5656
run: make test
5757
podmanbuild:
@@ -60,7 +60,7 @@ jobs:
6060
# image build step, so no need to do it twice.
6161
if: github.event_name == 'pull_request'
6262
steps:
63-
- uses: actions/checkout@v4
63+
- uses: actions/checkout@v5
6464
- name: Install fuse-overlayfs
6565
run: sudo apt-get -y install fuse-overlayfs
6666
- name: Setup podman config
@@ -88,7 +88,7 @@ jobs:
8888
# image build step, so no need to do it twice.
8989
if: github.event_name == 'pull_request'
9090
steps:
91-
- uses: actions/checkout@v4
91+
- uses: actions/checkout@v5
9292
- name: build container image
9393
# note: forcing use of podman here since we are
9494
# using podman explicitly for the push job
@@ -99,7 +99,7 @@ jobs:
9999
runs-on: ubuntu-latest
100100
if: github.event_name == 'push'
101101
steps:
102-
- uses: actions/checkout@v4
102+
- uses: actions/checkout@v5
103103
- name: log in to quay.io
104104
# using docker for now, since podman has an issue with space
105105
# consumption: image build fails with no space left on device...

0 commit comments

Comments
 (0)