diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml
index 76a36a0..5c65f6e 100644
--- a/.github/workflows/main.yaml
+++ b/.github/workflows/main.yaml
@@ -10,14 +10,12 @@ jobs:
matrix:
os: [ubuntu-latest, macos-latest]
steps:
- - uses: actions/checkout@v3
+ - uses: actions/checkout@v4
- uses: graalvm/setup-graalvm@v1
with:
- version: '22.3.0'
- gds-token: ${{ secrets.GDS_TOKEN }}
- java-version: '19'
- components: 'native-image'
+ java-version: '21'
+ distribution: 'graalvm'
github-token: ${{ secrets.GITHUB_TOKEN }}
native-image-job-reports: 'true'
native-image-pr-reports: 'true'
diff --git a/pom.xml b/pom.xml
index ab55760..b2089fc 100644
--- a/pom.xml
+++ b/pom.xml
@@ -15,9 +15,8 @@
maven-compiler-plugin
3.10.1
- 19
- 19
- --enable-preview
+ 21
+ 21
@@ -44,7 +43,6 @@
gameoflife.Main
- --enable-preview
--install-exit-handlers
@@ -73,7 +71,6 @@
gameoflife.Main
- --enable-preview
--install-exit-handlers
--gc=G1