Skip to content

Commit

Permalink
fix(pmd): update PMD run to v7 syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
dschach committed Apr 5, 2023
1 parent 840f9a8 commit dee7661
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
wget https://github.com/pmd/pmd/releases/download/pmd_releases%2F$PMD_VERSION/pmd-bin-$PMD_VERSION.zip
unzip pmd-bin-$PMD_VERSION.zip -d ~
mv ~/pmd-bin-$PMD_VERSION ~/pmd
~/pmd/bin/run.sh pmd --version
~/pmd/bin/pmd --version
# Run PMD scan
- name: "Run PMD scan"
run: ~/pmd/bin/run.sh pmd -d force-app -d sample-handler --rulesets pmd/ruleset.xml --format csv --no-cache -min 2 --verbose -r pmd/pmd.csv
run: ~/pmd/bin/pmd check -d force-app -d sample-handler --rulesets pmd/ruleset.xml --format csv --no-cache -min 2 --verbose -r pmd/pmd.csv

0 comments on commit dee7661

Please sign in to comment.