Skip to content

Commit

Permalink
fix detekt merged report name
Browse files Browse the repository at this point in the history
  • Loading branch information
uzzu committed Dec 17, 2023
1 parent 575e24f commit c41e249
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- name: Run reviewdog
if: always()
run: |
find . -type f -name "ktlint*Check.xml" -exec sh -c "cat {} | reviewdog -f=checkstyle -name='ktlint' -reporter=github-pr-review" \;
cat build/reports/detekt/detekt-merged-report.xml | reviewdog -f=checkstyle -name="detekt" -reporter="github-check" -level="warning" -filter-mode="nofilter" -fail-on-error
- name: Gradle publish to mavenLocal
run: |
./gradlew publishToMavenLocal
Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ fun Project.detektConfigurationShared(
}

val reportMerge by tasks.registering(ReportMergeTask::class) {
output.set(rootProject.layout.buildDirectory.file("reports/detekt/merge.xml"))
output.set(rootProject.layout.buildDirectory.file("reports/detekt/detekt-merged-report.xml"))
}

tasks.withType<Detekt>().configureEach {
Expand Down

0 comments on commit c41e249

Please sign in to comment.