[CI] Fix checkstyle & review dog don't work (#10812)
This commit is contained in:
parent
71f0168510
commit
8320490da3
|
|
@ -47,7 +47,7 @@ runs:
|
||||||
run: |
|
run: |
|
||||||
if [[ -n "${{ inputs.token }}" ]]; then
|
if [[ -n "${{ inputs.token }}" ]]; then
|
||||||
reviewdog -f=checkstyle \
|
reviewdog -f=checkstyle \
|
||||||
-reporter="github-pr-check" \
|
-reporter="github-pr-review" \
|
||||||
-filter-mode="added" \
|
-filter-mode="added" \
|
||||||
-fail-on-error="true" < target/checkstyle-result.xml
|
-fail-on-error="true" < target/checkstyle-result.xml
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
|
|
@ -71,6 +71,8 @@ jobs:
|
||||||
distribution: 'adopt'
|
distribution: 'adopt'
|
||||||
- name: Sanity Check
|
- name: Sanity Check
|
||||||
uses: ./.github/actions/sanity-check
|
uses: ./.github/actions/sanity-check
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- uses: actions/cache@v3
|
- uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: ~/.m2/repository
|
path: ~/.m2/repository
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue