diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a5f1e96..9b4d601 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,10 +24,10 @@ jobs: restore-keys: | ${{ runner.os }}-maven- - - name: Set up JDK 11 + - name: Set up JDK 17 uses: actions/setup-java@v4 with: - java-version: '11' + java-version: '17' distribution: 'corretto' - name: Build with Maven diff --git a/config/checkstyle.properties b/config/checkstyle.properties index 443e197..48a0a95 100644 --- a/config/checkstyle.properties +++ b/config/checkstyle.properties @@ -4,4 +4,4 @@ checkstyle.header.file=config/header.txt checkstyle.regexp.header.file=config/regexp-header.txt checkstyle.importcontrol.file=config/import-control.xml checkstyle.importcontroltest.file=config/import-control-test.xml -checkstyle.java.version=11 +checkstyle.java.version=17 diff --git a/pom.xml b/pom.xml index 6f892c5..be97b7a 100644 --- a/pom.xml +++ b/pom.xml @@ -15,8 +15,8 @@ https://github.com/checkstyle/checkstyle-openrewrite-recipes - 11 - 11 + 17 + 17 3.11.0 UTF-8 @@ -28,7 +28,7 @@ 3.6.0 - 10.25.0 + 10.26.1 @@ -60,7 +60,7 @@ org.openrewrite - rewrite-java-11 + rewrite-java-17 ${rewrite.version}