diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 59ecaeb..92ae846 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -13,10 +13,10 @@ jobs:
steps:
- uses: actions/checkout@v4
- - name: Set up JDK 17
+ - name: Set up JDK 21
uses: actions/setup-java@v3
with:
- java-version: "17"
+ java-version: "21"
distribution: "temurin"
cache: maven
diff --git a/pom.xml b/pom.xml
index 4b42845..7dc3838 100644
--- a/pom.xml
+++ b/pom.xml
@@ -16,8 +16,8 @@
UTF-8
- 17
- 17
+ 21
+ 21