diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index d99413af0..a449e5acf 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -11,8 +11,8 @@ jobs:
- name: Set up JDK 11
uses: actions/setup-java@3bc31aaf88e8fc94dc1e632d48af61be5ca8721c
with:
- distribution: 'adopt'
- java-version: 11
+ distribution: 'temurin'
+ java-version: 17
cache: 'maven'
- name: Build with Maven
run: mvn -e -B verify
diff --git a/pom.xml b/pom.xml
index fc004603f..c791fa230 100644
--- a/pom.xml
+++ b/pom.xml
@@ -354,8 +354,7 @@
maven-compiler-plugin
3.8.1
- 11
- 11
+ 17