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 008d3de commit e31b870
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/pmd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,9 @@ 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
- name: PMD
uses: 'pmd/pmd-github-action@967a81f8b657c87f7c3e96b62301cb1a48efef29'
# explicit version is enabled via https://issues.apache.org/jira/browse/INFRA-22883
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 e31b870

Please sign in to comment.