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:
122122 java-version : ${{ matrix.java }}
123123 cache : ' maven'
124124
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+
125133 - name : Run PMD
126134 run : ./mvnw -B test pmd:aggregate-pmd-no-fork pmd:check -P pmd -DskipTests -T2C
127135
Original file line number Diff line number Diff line change 355355 <artifactId >maven-pmd-plugin</artifactId >
356356 <version >3.27.0</version >
357357 <configuration >
358+ <analysisCache >true</analysisCache >
358359 <includeTests >true</includeTests >
359360 <printFailingErrors >true</printFailingErrors >
360361 <rulesets >
Original file line number Diff line number Diff line change 7272 <artifactId >maven-pmd-plugin</artifactId >
7373 <version >3.27.0</version >
7474 <configuration >
75+ <analysisCache >true</analysisCache >
7576 <includeTests >true</includeTests >
7677 <printFailingErrors >true</printFailingErrors >
7778 <rulesets >
You can’t perform that action at this time.
0 commit comments