File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -32,14 +32,14 @@ jobs:
3232 java-version : 17
3333 - name : Install ktlint
3434 run : |-
35- curl -sSLO https://github.com/pinterest/ktlint/releases/download/1.2.1 /ktlint
35+ curl -sSLO https://github.com/pinterest/ktlint/releases/download/1.5.0 /ktlint
3636 chmod a+x ktlint && mv ktlint $RUNNER_TOOL_CACHE/ktlint
3737 - name : Run ktlint
3838 id : ktlint
3939 run : $RUNNER_TOOL_CACHE/ktlint --reporter=sarif,output=build/reports/ktlint.sarif
4040 - name : Upload report
4141 uses : github/codeql-action/upload-sarif@v3
42- if : " !cancelled() && steps.ktlint.outcome == 'failure' "
42+ if : " !cancelled()"
4343 with :
4444 sarif_file : build/reports/ktlint.sarif
4545 category : ktlint
@@ -55,16 +55,16 @@ jobs:
5555 java-version : 17
5656 - name : Install detekt
5757 run : |-
58- curl -sSLO https://github.com/detekt/detekt/releases/download/v1.23.6 /detekt-cli-1.23.6 -all.jar
59- mv detekt-cli-1.23.6 -all.jar $RUNNER_TOOL_CACHE/detekt-cli.jar
58+ curl -sSLO https://github.com/detekt/detekt/releases/download/v1.23.7 /detekt-cli-1.23.7 -all.jar
59+ mv detekt-cli-1.23.7 -all.jar $RUNNER_TOOL_CACHE/detekt-cli.jar
6060 - name : Run detekt
6161 id : detekt
6262 run : >-
6363 java -jar $RUNNER_TOOL_CACHE/detekt-cli.jar --build-upon-default-config
6464 --jvm-target 17 -c .github/detekt.yml -r sarif:build/reports/detekt.sarif
6565 - name : Upload report
6666 uses : github/codeql-action/upload-sarif@v3
67- if : " !cancelled() && steps.detekt.outcome == 'failure' "
67+ if : " !cancelled()"
6868 with :
6969 sarif_file : build/reports/detekt.sarif
7070 category : detekt
You can’t perform that action at this time.
0 commit comments