Skip to content

Commit a1c99ea

Browse files
committed
use ubuntu-latest
Motivation: Ubuntu 20.04 runner will be unsupported by april 1. Modification: Switched to ubuntu-latest Result: Ensure future compatibility.
1 parent 0764d05 commit a1c99ea

File tree

4 files changed

+19
-17
lines changed

4 files changed

+19
-17
lines changed

Diff for: .github/workflows/ci-graalvm-tests.yml

+7-7
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,18 @@ name: Native Image Build Test
1616

1717
on:
1818
pull_request:
19-
branches: [ "trunk", "0.9.x" ]
19+
branches: ["trunk", "0.9.x"]
2020

2121
jobs:
2222
graalvm-build-pr:
23-
runs-on: ubuntu-20.04
23+
runs-on: ubuntu-latest
2424
steps:
2525
- uses: actions/checkout@v4
2626

2727
- uses: graalvm/setup-graalvm@v1
2828
with:
2929
java-version: 21
30-
distribution: 'graalvm'
30+
distribution: "graalvm"
3131
native-image-job-reports: true
3232
github-token: ${{ secrets.GITHUB_TOKEN }}
3333

@@ -43,7 +43,7 @@ jobs:
4343

4444
- name: Build and run native image
4545
run: |
46-
echo "JAVA_HOME=$JAVA_HOME"
47-
echo "./mvnw -Pgraalvm package -Dmaven.javadoc.skip=true"
48-
./mvnw -Pgraalvm package -Dmaven.javadoc.skip=true
49-
./test-native-image/target/test-native-image
46+
echo "JAVA_HOME=$JAVA_HOME"
47+
echo "./mvnw -Pgraalvm package -Dmaven.javadoc.skip=true"
48+
./mvnw -Pgraalvm package -Dmaven.javadoc.skip=true
49+
./test-native-image/target/test-native-image

Diff for: .github/workflows/ci-integration-tests.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,15 @@ name: Integration Tests
22

33
on:
44
pull_request:
5-
branches: [ "trunk", "0.9.x" ]
5+
branches: ["trunk", "0.9.x"]
66

77
jobs:
88
integration-tests-pr:
9-
runs-on: ubuntu-20.04
9+
runs-on: ubuntu-latest
1010
strategy:
1111
matrix:
12-
mysql-version: [ 5.5, 5.6.45, 5.6, 5.7.28, 5.7, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0]
12+
mysql-version:
13+
[5.5, 5.6.45, 5.6, 5.7.28, 5.7, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0]
1314
name: Integration test with MySQL ${{ matrix.mysql-version }}
1415
steps:
1516
- uses: actions/checkout@v3

Diff for: .github/workflows/ci-mariadb-intergration-tests.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,15 @@ name: Integration Tests for MariaDB
22

33
on:
44
pull_request:
5-
branches: [ "trunk", "0.9.x" ]
5+
branches: ["trunk", "0.9.x"]
66

77
jobs:
88
mariadb-integration-tests-pr:
9-
runs-on: ubuntu-20.04
9+
runs-on: ubuntu-latest
1010
strategy:
1111
matrix:
12-
mariadb-version: [ 10.0, 10.1, 10.2.15, 10.2, 10.3.7, 10.3, 10.5.1, 10.5, 10.6, 10.11]
12+
mariadb-version:
13+
[10.0, 10.1, 10.2.15, 10.2, 10.3.7, 10.3, 10.5.1, 10.5, 10.6, 10.11]
1314
name: Integration test with MariaDB ${{ matrix.mariadb-version }}
1415
steps:
1516
- uses: actions/checkout@v3

Diff for: .github/workflows/ci-unit-tests.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@ name: Unit tests
22

33
on:
44
pull_request:
5-
branches: [ "trunk", "0.9.x" ]
5+
branches: ["trunk", "0.9.x"]
66

77
jobs:
88
unit-tests-pr:
9-
runs-on: ubuntu-20.04
9+
runs-on: ubuntu-latest
1010
strategy:
1111
matrix:
12-
java-version: [ 8, 11, 17, 21 ]
12+
java-version: [8, 11, 17, 21]
1313
name: linux-java-${{ matrix.java-version }}
1414
steps:
1515
- uses: actions/checkout@v3
@@ -20,7 +20,7 @@ jobs:
2020
java-version: ${{ matrix.java-version }}
2121
cache: maven
2222
- name: Unit test with Maven
23-
run: |
23+
run: |
2424
set -o pipefail
2525
./mvnw -B test -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=WARN \
2626
-Dio.netty.leakDetectionLevel=paranoid \

0 commit comments

Comments
 (0)