Skip to content

Commit dff652c

Browse files
authored
Merge pull request #1743 from steve-community/1742-migrate-to-spring-boot-move-pmd-checkstyle
move code analysis config files to project root (#1742)
2 parents dbd34bc + 53cba61 commit dff652c

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

.github/workflows/review.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- name: Run Checkstyle
3030
uses: nikitasavinov/checkstyle-action@master
3131
with:
32-
checkstyle_config: './src/main/resources/checkstyle.xml'
32+
checkstyle_config: './checkstyle.xml'
3333
workdir: './src/main/java'
3434
reporter: 'github-pr-check'
3535
tool_name: 'checkstyle'
File renamed without changes.
File renamed without changes.

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@
206206
<version>3.26.0</version>
207207
<configuration>
208208
<rulesets>
209-
<ruleset>${project.basedir}/src/main/resources/maven-pmd-plugin-default.xml</ruleset>
209+
<ruleset>${project.basedir}/maven-pmd-plugin-default.xml</ruleset>
210210
</rulesets>
211211
</configuration>
212212
</plugin>
@@ -231,7 +231,7 @@
231231
<artifactId>maven-checkstyle-plugin</artifactId>
232232
<version>3.6.0</version>
233233
<configuration>
234-
<configLocation>${basedir}/src/main/resources/checkstyle.xml</configLocation>
234+
<configLocation>${project.basedir}/checkstyle.xml</configLocation>
235235
</configuration>
236236
</plugin>
237237

0 commit comments

Comments
 (0)