Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 11 additions & 4 deletions .github/workflows/code-quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ permissions:
contents: read
pull-requests: write
checks: write
actions: read

jobs:
checkstyle:
Expand All @@ -29,19 +30,25 @@ jobs:

- name: Run Checkstyle
run: |
mvn checkstyle:checkstyle
mvn checkstyle:check
mvn checkstyle:checkstyle -B -q
continue-on-error: true

- name: Report Checkstyle results
uses: jwgmeligmeyling/checkstyle-github-action@master
if: always()
with:
path: '**/checkstyle-result.xml'
token: ${{ secrets.GITHUB_TOKEN }}
name: 'Checkstyle Report'
title: 'Checkstyle Results'

- name: Upload Checkstyle results
uses: actions/upload-artifact@v4
if: always()
with:
name: checkstyle-results
path: target/site/checkstyle.html
retention-days: 7
path: |
**/target/checkstyle-result.xml
**/target/site/checkstyle.html
retention-days: 7
if-no-files-found: warn