For our java code base, we tried to implement checkstyle github action for our needs but I couldn't figure out how to implement custom needs.
Here is the repo I want to use it. Checker
And my yml file to use it.
on: pull_request
jobs:
checkstyle_job:
runs-on: ubuntu-latest
name: Checkstyle job
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Run check style
uses: efeozsoy/checkstyle-java-commenter@0.1.2
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
reporter: 'github-pr-check'
tool_name: 'checkstyle-java'
This is the output of the default xml
I need to change max lines and indentation rules