diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml
index b1732a18..c62690d8 100644
--- a/.github/workflows/codeql-analysis.yml
+++ b/.github/workflows/codeql-analysis.yml
@@ -45,7 +45,7 @@ jobs:
- uses: actions/setup-java@v3
with:
distribution: 'adopt'
- java-version: 8
+ java-version: 17
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
diff --git a/pom.xml b/pom.xml
index e8fbe0c9..fe97d6f5 100644
--- a/pom.xml
+++ b/pom.xml
@@ -251,7 +251,7 @@
com.puppycrawl.tools
checkstyle
- 9.2.1
+ 10.12.3