Skip to content

Commit

Permalink
Try reviewdog without configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
OptimumCode committed Aug 17, 2024
1 parent 0d1b7ac commit 569d2d5
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/pr-compliance-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,16 @@ jobs:
uses: reviewdog/action-setup@v1
with:
reviewdog_version: latest
- name: Run reviewdog
run: reviewdog -tee -reporter=github-pr-review -log-level=debug
- name: Run reviewdog detekt
run: >
detekt-cli -c config/detekt/detekt.yml --includes '**/src/*Main/**/*.kt;**/src/main/**/*.kt' |
reviewdog -tee -reporter=github-pr-review -log-level=debug -efm="%f:%l:%c: %m" -name=detekt
env:
REVIEWDOG_GITHUB_API_TOKEN: ${{ github.token }}
- name: Run reviewdog ktlint
run: >
ktlint '**/*.kt' '**/*.kts' '!**/build/generated*/**' |
reviewdog -tee -reporter=github-pr-review -log-level=debug -efm="%f:%l:%c: %m" -name=ktlint
env:
REVIEWDOG_GITHUB_API_TOKEN: ${{ github.token }}

Expand Down

0 comments on commit 569d2d5

Please sign in to comment.