leo65535 commented on PR #9460:
URL: https://github.com/apache/incubator-doris/pull/9460#issuecomment-1123387420
In fact, the following configuration is enough. `reviewdog` is not a
necessity. Because when met wrong checkstyle, `mvn checkstyle:check` also can
cause the ut failed.
```
---
name: FE Code Style Checker
on:
pull_request:
jobs:
java-checkstyle:
name: "CheckStyle"
runs-on: ubuntu-latest
steps:
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
uses: actions/checkout@v2
with:
persist-credentials: false
submodules: recursive
- name: "Run java checkstyle"
run:
cd fe && mvn checkstyle:check
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]