Skip to content

Commit f157e53

Browse files
committed
ci(PMD): change ruleset file name
1 parent 99a9ca7 commit f157e53

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,4 +59,4 @@ jobs:
5959
~/pmd/bin/pmd --version
6060
# Run PMD scan
6161
- name: 'Run PMD scan'
62-
run: ~/pmd/bin/pmd check --dir force-app --rulesets pmd/apexQuickStart.xml --format text --cache pmd/cache --minimum-priority "Medium Low"
62+
run: ~/pmd/bin/pmd check --dir force-app --rulesets pmd/ruleset.xml --format text --cache pmd/cache --minimum-priority "Medium Low"

.github/workflows/pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
id: pmd
6060
with:
6161
sourcePath: 'force-app'
62-
rulesets: 'pmd/apexQuickStart.xml'
62+
rulesets: 'pmd/ruleset.xml'
6363

6464
# Check for PMD violations
6565
- name: 'Check for PMD violations'

.vscode/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"salesforcedx-vscode-core.retrieve-test-code-coverage": true,
99
"apexPMD.enableCache": true,
1010
"apexPMD.rulesets": [
11-
"pmd/apexQuickStart.xml"
11+
"pmd/ruleset.xml"
1212
],
1313
"apexPMD.priorityErrorThreshold": 2,
1414
"apexPMD.priorityWarnThreshold": 3,
File renamed without changes.

0 commit comments

Comments
 (0)