Skip to content

Commit bb7574d

Browse files
committed
Merge remote-tracking branch 'origin/main' into feat/optimized-code-wayne
2 parents d649a3a + fb6f2e4 commit bb7574d

1 file changed

Lines changed: 11 additions & 4 deletions

File tree

.github/workflows/code-quality.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ permissions:
1111
contents: read
1212
pull-requests: write
1313
checks: write
14+
actions: read
1415

1516
jobs:
1617
checkstyle:
@@ -29,19 +30,25 @@ jobs:
2930

3031
- name: Run Checkstyle
3132
run: |
32-
mvn checkstyle:checkstyle
33-
mvn checkstyle:check
33+
mvn checkstyle:checkstyle -B -q
34+
continue-on-error: true
3435

3536
- name: Report Checkstyle results
3637
uses: jwgmeligmeyling/checkstyle-github-action@master
3738
if: always()
3839
with:
3940
path: '**/checkstyle-result.xml'
41+
token: ${{ secrets.GITHUB_TOKEN }}
42+
name: 'Checkstyle Report'
43+
title: 'Checkstyle Results'
4044

4145
- name: Upload Checkstyle results
4246
uses: actions/upload-artifact@v4
4347
if: always()
4448
with:
4549
name: checkstyle-results
46-
path: target/site/checkstyle.html
47-
retention-days: 7
50+
path: |
51+
**/target/checkstyle-result.xml
52+
**/target/site/checkstyle.html
53+
retention-days: 7
54+
if-no-files-found: warn

0 commit comments

Comments
 (0)