Skip to content

Commit

Permalink
ci: test with graalvm-community and use managed native image maven pl…
Browse files Browse the repository at this point in the history
…ugin (#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]>
  • Loading branch information
burkedavison and hessjcg authored Jul 9, 2024
1 parent d7e434f commit e542b7a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -303,10 +303,10 @@ jobs:
repository: ${{ github.event.pull_request.head.repo.full_name }}

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

Expand Down
5 changes: 2 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<javac.version>9+181-r4173-1</javac.version>
<native-image.version>0.10.2</native-image.version>
<graal-sdk.version>24.0.1</graal-sdk.version>
<netty.version>4.1.111.Final</netty.version>
<ow2-asm.version>9.7</ow2-asm.version>
Expand Down Expand Up @@ -741,7 +740,7 @@
<dependency>
<groupId>org.graalvm.buildtools</groupId>
<artifactId>junit-platform-native</artifactId>
<version>${native-image.version}</version>
<version>${native-maven-plugin.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
Expand All @@ -764,7 +763,7 @@
<plugin>
<groupId>org.graalvm.buildtools</groupId>
<artifactId>native-maven-plugin</artifactId>
<version>${native-image.version}</version>
<version>${native-maven-plugin.version}</version>
<extensions>true</extensions>
<executions>
<execution>
Expand Down

0 comments on commit e542b7a

Please sign in to comment.