We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 241e12d commit e43733fCopy full SHA for e43733f
.github/workflows/checkstyle.yml
@@ -33,8 +33,10 @@ jobs:
33
env:
34
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
35
run: |
36
- find . -path "*/build/reports/checkstyle/*.xml" -exec sh -c '
37
- for xmlReport do
38
- cat "$xmlReport" | reviewdog -f=checkstyle -fail-level=any -reporter=github-pr-review || exit 1
39
- done
40
- ' sh {} +
+ find . -path "*/build/reports/checkstyle/*.xml" -type f | while read -r xmlReport; do
+ cat "$xmlReport" | reviewdog \
+ -f=checkstyle \
+ -fail-level=any \
+ -reporter=github-pr-review \
41
+ || exit 1
42
+ done
0 commit comments