File tree Expand file tree Collapse file tree 3 files changed +10
-0
lines changed Expand file tree Collapse file tree 3 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -122,6 +122,14 @@ jobs:
122
122
java-version : ${{ matrix.java }}
123
123
cache : ' maven'
124
124
125
+ - name : PMD Analysis Cache
126
+ uses : actions/cache@v4
127
+ with :
128
+ path : ' **/target/pmd/pmd.cache'
129
+ key : ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
130
+ restore-keys : |
131
+ ${{ runner.os }}-maven-
132
+
125
133
- name : Run PMD
126
134
run : ./mvnw -B test pmd:aggregate-pmd-no-fork pmd:check -P pmd -DskipTests -T2C
127
135
Original file line number Diff line number Diff line change 355
355
<artifactId >maven-pmd-plugin</artifactId >
356
356
<version >3.27.0</version >
357
357
<configuration >
358
+ <analysisCache >true</analysisCache >
358
359
<includeTests >true</includeTests >
359
360
<printFailingErrors >true</printFailingErrors >
360
361
<rulesets >
Original file line number Diff line number Diff line change 72
72
<artifactId >maven-pmd-plugin</artifactId >
73
73
<version >3.27.0</version >
74
74
<configuration >
75
+ <analysisCache >true</analysisCache >
75
76
<includeTests >true</includeTests >
76
77
<printFailingErrors >true</printFailingErrors >
77
78
<rulesets >
You can’t perform that action at this time.
0 commit comments