Skip to content

Commit

Permalink
disable detekt
Browse files Browse the repository at this point in the history
  • Loading branch information
phillipthelen committed Jan 14, 2025
1 parent fd69cf9 commit c112c4d
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 22 deletions.
42 changes: 21 additions & 21 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,24 +86,24 @@ jobs:
with:
arguments: ktlintCheck

detekt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'adopt'
cache: gradle
- name: Prepare
run: ./.github/prepare-workflow
- name: Run with Gradle
uses: gradle/gradle-build-action@v2
with:
arguments: detekt
- name: Upload SARIF to Github using the upload-sarif action
uses: github/codeql-action/upload-sarif@v2
if: ${{ always() }}
with:
sarif_file: build/reports/detekt.sarif
# detekt:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v3
# - name: set up JDK 17
# uses: actions/setup-java@v3
# with:
# java-version: '17'
# distribution: 'adopt'
# cache: gradle
# - name: Prepare
# run: ./.github/prepare-workflow
# - name: Run with Gradle
# uses: gradle/gradle-build-action@v2
# with:
# arguments: detekt
# - name: Upload SARIF to Github using the upload-sarif action
# uses: github/codeql-action/upload-sarif@v2
# if: ${{ always() }}
# with:
# sarif_file: build/reports/detekt.sarif
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class NumberAbbreviatorTest : StringSpec({
Triple(40.2412, "40", 0),
Triple(0.5, "0.5", 0),
Triple(0.328, "0.32", 0),
Triple(-0.99, "-0.99", 0),
Triple(-0.99, "-0.99", 0)
) { (input, output, decimals) ->
NumberAbbreviator.abbreviate(mockContext, input, decimals) shouldBe output
}
Expand Down

0 comments on commit c112c4d

Please sign in to comment.