Skip to content

Commit 5b14b70

Browse files
committed
ci: fix builds and update go version
Update GitHub actions to fix pipeline. Next to that also update the go version used to build in the CI. Signed-off-by: Jean-Louis Dupond <[email protected]>
1 parent 556489d commit 5b14b70

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/build.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,16 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- name: Checkout
17-
uses: actions/checkout@v2
17+
uses: actions/checkout@v4
1818
- name: Set up JDK
1919
uses: actions/setup-java@v2
2020
with:
2121
java-version: '11'
2222
distribution: 'adopt'
2323
- name: Set up go
24-
uses: actions/setup-go@v2
24+
uses: actions/setup-go@v5
2525
with:
26-
go-version: '^1.16.0'
26+
go-version: '^1.24.1'
2727
- name: Build
2828
run: |
2929
mvn package
@@ -32,7 +32,7 @@ jobs:
3232
cp -r sdk/examples go-ovirt/
3333
cp -r sdk/CHANGES.adoc sdk/LICENSE.txt go-ovirt/
3434
- name: Upload artifacts
35-
uses: actions/upload-artifact@v2
35+
uses: actions/upload-artifact@v4
3636
with:
3737
name: sdk
3838
if-no-files-found: error
@@ -55,12 +55,12 @@ jobs:
5555
exit 1
5656
fi
5757
- name: Download artifacts
58-
uses: actions/download-artifact@v2
58+
uses: actions/download-artifact@v4
5959
with:
6060
name: sdk
6161
path: go-ovirt-new/
6262
- name: Check out target repository
63-
uses: actions/checkout@v2
63+
uses: actions/checkout@v4
6464
with:
6565
repository: '${{ secrets.TARGET_REPO }}'
6666
ssh-key: '${{ secrets.DEPLOY_KEY }}'

0 commit comments

Comments
 (0)