fix(ci): run Detekt separately

This commit is contained in:
Harsh Shandilya 2022-10-04 00:14:13 +05:30
parent 0904740980
commit 394558d634
No known key found for this signature in database
2 changed files with 6 additions and 7 deletions

View file

@ -29,6 +29,12 @@ jobs:
arguments: check -PslimTests
gradle-home-cache-cleanup: true
- name: Run Detekt
uses: gradle/gradle-build-action@v2.3.2
with:
arguments: detektMain
gradle-home-cache-cleanup: true
- name: (Fail-only) Upload test report
if: failure()
uses: actions/upload-artifact@v3.1.0