2023-09-06 23:37:31 +02:00
|
|
|
name: 'Generic: Checkstyle'
|
|
|
|
|
|
|
|
on:
|
|
|
|
workflow_call:
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
checkstyle:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
permissions:
|
|
|
|
contents: read
|
2023-09-09 16:26:20 +02:00
|
|
|
pull-requests: write
|
2023-09-11 14:44:05 +02:00
|
|
|
continue-on-error: true
|
2023-09-06 23:37:31 +02:00
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
|
|
|
|
- uses: dbelyaev/action-checkstyle@v0.8.4
|
2023-09-11 14:48:23 +02:00
|
|
|
continue-on-error: true
|
2023-09-06 23:37:31 +02:00
|
|
|
with:
|
|
|
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
checkstyle_version: 10.12.2
|
2023-09-06 23:43:25 +02:00
|
|
|
checkstyle_config: ./config/mv_checks.xml
|
2023-09-09 16:28:55 +02:00
|
|
|
level: warning
|