File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ permissions:
1111 contents : read
1212 pull-requests : write
1313 checks : write
14+ actions : read
1415
1516jobs :
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
You can’t perform that action at this time.
0 commit comments