Skip to content

Commit 1f97812

Browse files
committed
Issue #498: update to checkstyle 10.13.0
1 parent 8462c9e commit 1f97812

File tree

5 files changed

+22
-18
lines changed

5 files changed

+22
-18
lines changed

.circleci/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ version: 2
33
jobs:
44
build-project:
55
docker:
6-
- image: cimg/openjdk:11.0.16
6+
- image: cimg/openjdk:21.0.2
77

88
steps:
99
- checkout
@@ -15,7 +15,7 @@ jobs:
1515

1616
execute-sonar:
1717
docker:
18-
- image: sonarqube:9.0-community
18+
- image: sonarqube:9.9-community
1919
working_directory: ~/repo
2020

2121
environment:

.github/workflows/sonar-checkstyle-workflows.yml

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,36 +7,39 @@ on:
77
pull_request:
88

99
jobs:
10-
mvn-install-java-11:
10+
mvn-install-java-17:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v2
14-
- name: Set up JDK 11
15-
uses: actions/setup-java@v1
13+
- uses: actions/checkout@v4
14+
- name: Set up JDK 17
15+
uses: actions/setup-java@v4
1616
with:
17-
java-version: 11
17+
java-version: 17
18+
distribution: 'temurin'
1819
- name: install
1920
run: "./.ci/ci.sh install"
2021

2122
integration-tests:
2223
runs-on: ubuntu-latest
2324
steps:
24-
- uses: actions/checkout@v2
25-
- name: Set up JDK 11
26-
uses: actions/setup-java@v1
25+
- uses: actions/checkout@v4
26+
- name: Set up JDK 17
27+
uses: actions/setup-java@v4
2728
with:
28-
java-version: 11
29+
java-version: 17
30+
distribution: 'temurin'
2931
- name: run integration tests
3032
run: "./.ci/ci.sh integration-tests"
3133

3234
nondex:
3335
runs-on: ubuntu-latest
3436
steps:
35-
- uses: actions/checkout@v2
36-
- name: Set up JDK 11
37-
uses: actions/setup-java@v1
37+
- uses: actions/checkout@v4
38+
- name: Set up JDK 17
39+
uses: actions/setup-java@v4
3840
with:
39-
java-version: 11
41+
java-version: 17
42+
distribution: 'temurin'
4043
- name: install
4144
run: "./.ci/ci.sh nondex"
4245

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ install:
2727
matrix:
2828
fast_finish: true
2929
include:
30-
- jdk: openjdk11
30+
- jdk: openjdk21
3131
env: CMD="./.ci/ci.sh install"
3232

3333
script:

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ Compatibility matrix from checkstyle team:
2121

2222
| Checkstyle Plugin | Sonar min | Sonar max | Checkstyle | Jdk |
2323
|-------------------|-----------|-----------|------------|-----|
24-
| 10.12.5 | 9.0 | 10.0+ | 10.12.5 | 11 |
24+
| 10.13.0 | 9.9 | 10.0+ | 10.13.0 | 11 |
25+
| 10.12.5 | 9.9 | 10.0+ | 10.12.5 | 11 |
2526
| 10.12.3 | 9.0 | 10.0+ | 10.12.3 | 11 |
2627
| 10.12.1 | 9.0 | 10.0+ | 10.12.1 | 11 |
2728
| 10.12.0 | 9.0 | 10.0+ | 10.12.0 | 11 |

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@
9393
</ciManagement>
9494

9595
<properties>
96-
<checkstyle.version>10.12.5</checkstyle.version>
96+
<checkstyle.version>10.13.0</checkstyle.version>
9797
<sonar.version>8.9.0.43852</sonar.version>
9898
<sonar-java.version>7.2.0.26923</sonar-java.version>
9999
<maven.sevntu.checkstyle.plugin.version>1.44.1</maven.sevntu.checkstyle.plugin.version>

0 commit comments

Comments
 (0)