diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 2b1c635..f8a7cbd 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -9,10 +9,10 @@ jobs:
steps:
- uses: actions/checkout@v3
- - name: Set up JDK 21
+ - name: Set up JDK 23
uses: actions/setup-java@v3
with:
- java-version: '21'
+ java-version: '23'
cache: maven
distribution: 'temurin'
diff --git a/pom.xml b/pom.xml
index 3ffb703..e20ff68 100644
--- a/pom.xml
+++ b/pom.xml
@@ -530,7 +530,7 @@
maven-compiler-plugin
22
- --enable-preview
+ true