[CI] Fix checkstyle & review dog don't work (#10812)

This commit is contained in:
kezhenxu94 2022-07-06 21:31:32 +08:00 committed by GitHub
parent 71f0168510
commit 8320490da3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -47,7 +47,7 @@ runs:
run: |
if [[ -n "${{ inputs.token }}" ]]; then
reviewdog -f=checkstyle \
-reporter="github-pr-check" \
-reporter="github-pr-review" \
-filter-mode="added" \
-fail-on-error="true" < target/checkstyle-result.xml
fi

View File

@ -71,6 +71,8 @@ jobs:
distribution: 'adopt'
- name: Sanity Check
uses: ./.github/actions/sanity-check
with:
token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/cache@v3
with:
path: ~/.m2/repository