summaryrefslogtreecommitdiffhomepage
path: root/.github
diff options
context:
space:
mode:
authorDavid Göransson <david.goransson90@gmail.com>2024-01-24 09:08:42 +0100
committerAlbin <albin@mullvad.net>2024-02-05 17:51:37 +0100
commitd57601060d4496a5eeaf4e6481f210d9c2350da0 (patch)
tree1b87540da0daccf5fe82935a576bd4fa62d93aff /.github
parentba3ee3340957ad996bf0f7cf363149e2fe683374 (diff)
downloadmullvadvpn-d57601060d4496a5eeaf4e6481f210d9c2350da0.tar.xz
mullvadvpn-d57601060d4496a5eeaf4e6481f210d9c2350da0.zip
Add detekt CI step
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/android-app.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/.github/workflows/android-app.yml b/.github/workflows/android-app.yml
index a24e6993ee..c6572ddbc7 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.