diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml
index 144e4b27be..50a1a643bf 100644
--- a/.github/workflows/CI.yml
+++ b/.github/workflows/CI.yml
@@ -16,7 +16,7 @@ jobs:
path: |
~/.m2/repository
~/.cache/runelite
- key: ${{ runner.os }}-cache-${{ hashFiles('**/pom.xml', '**/build.sh') }}
+ key: ${{ runner.os }}-cache-${{ hashFiles('**/pom.xml', '**/build.sh', '**/pmd-ruleset.xml') }}
restore-keys: |
${{ runner.os }}-cache-
diff --git a/ci/settings.xml b/ci/settings.xml
index d6caa8f543..9e0b198657 100644
--- a/ci/settings.xml
+++ b/ci/settings.xml
@@ -260,6 +260,7 @@ under the License.
false
false
false
+ ${user.home}/.cache/runelite/pmd.cache