From f037685dc65c3ac6c4332990abeac37f1ad9b4d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20G=C3=B6ransson?= Date: Wed, 24 Jan 2024 09:08:42 +0100 Subject: [PATCH] Add detekt CI step --- .github/workflows/android-app.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/android-app.yml b/.github/workflows/android-app.yml index 8d55ebc5f21b..24d7d64b0bd0 100644 --- a/.github/workflows/android-app.yml +++ b/.github/workflows/android-app.yml @@ -243,6 +243,15 @@ jobs: build-root-directory: android execution-only-caches: true + - name: Run detekt + uses: burrunan/gradle-cache-action@v1 + with: + job-id: jdk17 + arguments: detekt + gradle-version: wrapper + build-root-directory: android + execution-only-caches: true + # Running the AGP lint here rather than in the separate lint workflow # (android-kotlin-format-check.yml) since it's easier to make use of the running container, # cache and previously ran tasks.