Skip to content

Commit

Permalink
Test reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
Domi04151309 committed Jan 19, 2024
1 parent a9371d6 commit 852e820
Show file tree
Hide file tree
Showing 3 changed files with 797 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,14 @@ jobs:
run: |
chmod +x gradlew
./gradlew detekt
- name: Upload SARIF
uses: github/codeql-action/upload-sarif@v2
if: success() || failure()
with:
sarif_file: app/build/reports/detekt/detekt.sarif
-name: Job Summary
if: success() || failure()
run: cat ./app/build/reports/detekt/detekt.md >> $GITHUB_STEP_SUMMARY
build:
runs-on: ubuntu-latest
steps:
Expand Down
5 changes: 5 additions & 0 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,11 @@ android {
kotlinOptions {
jvmTarget = "17"
}
detekt {
config.setFrom(file("detekt-config.yml"))
buildUponDefaultConfig = true
basePath = rootProject.projectDir.absolutePath
}
lint {
disable += "MissingTranslation"
}
Expand Down
Loading

0 comments on commit 852e820

Please sign in to comment.