Skip to content

Commit

Permalink
Run PMD action in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
alien11689 committed Feb 18, 2025
1 parent ae32505 commit 0506209
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/pmd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,7 @@ jobs:
with:
distribution: 'temurin'
java-version: 8
- name: Run PMD
shell: bash
run: mvn -U -e -B -ntp clean compile test-compile -DskipTests pmd:pmd
- name: Publish PMD results
uses: jwgmeligmeyling/pmd-github-action@master
- uses: pmd/pmd-github-action@v2
with:
path: '**/pmd.xml'
rulesets: 'https://raw.githubusercontent.com/apache/maven-pmd-plugin/HEAD/src/main/resources/rulesets/java/maven-pmd-plugin-default.xml'
analyzeModifiedFilesOnly: 'false'

0 comments on commit 0506209

Please sign in to comment.