Skip to content

Commit e542b7a

Browse files
ci: test with graalvm-community and use managed native image maven plugin (#2030)
* deps: use google-cloud-shared-config managed native-maven-plugin version * ci: use graalvm-community distribution and java-version 21 --------- Co-authored-by: Jonathan Hess (he/him) <[email protected]>
1 parent d7e434f commit e542b7a

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

.github/workflows/tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -303,10 +303,10 @@ jobs:
303303
repository: ${{ github.event.pull_request.head.repo.full_name }}
304304

305305
- name: Set up GraalVM
306-
uses: graalvm/setup-graalvm@809512d83d953d3652df1c3d2f3de546111002b2
306+
uses: graalvm/setup-graalvm@2911b2304bee2c2f59b9a67bf45f025a6b6de4b1 # v1.2.2
307307
with:
308-
version: 'latest'
309-
java-version: '17'
308+
java-version: '21'
309+
distribution: 'graalvm-community'
310310
components: 'native-image'
311311
github-token: ${{ secrets.GITHUB_TOKEN }}
312312

pom.xml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@
7777
<properties>
7878
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
7979
<javac.version>9+181-r4173-1</javac.version>
80-
<native-image.version>0.10.2</native-image.version>
8180
<graal-sdk.version>24.0.1</graal-sdk.version>
8281
<netty.version>4.1.111.Final</netty.version>
8382
<ow2-asm.version>9.7</ow2-asm.version>
@@ -741,7 +740,7 @@
741740
<dependency>
742741
<groupId>org.graalvm.buildtools</groupId>
743742
<artifactId>junit-platform-native</artifactId>
744-
<version>${native-image.version}</version>
743+
<version>${native-maven-plugin.version}</version>
745744
<scope>test</scope>
746745
</dependency>
747746
</dependencies>
@@ -764,7 +763,7 @@
764763
<plugin>
765764
<groupId>org.graalvm.buildtools</groupId>
766765
<artifactId>native-maven-plugin</artifactId>
767-
<version>${native-image.version}</version>
766+
<version>${native-maven-plugin.version}</version>
768767
<extensions>true</extensions>
769768
<executions>
770769
<execution>

0 commit comments

Comments
 (0)