diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 5553274..6ab89e6 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -19,7 +19,7 @@ jobs:
- name: Set up the JDK
uses: actions/setup-java@v2
with:
- java-version: '19'
+ java-version: '22'
distribution: 'zulu'
cache: maven
- name: Test with Maven
diff --git a/pom.xml b/pom.xml
index 6a2f487..d6096fb 100644
--- a/pom.xml
+++ b/pom.xml
@@ -7,8 +7,8 @@
1.0.1-SNAPSHOT
UTF-8
- 19
- 19
+ 22
+ 22