summaryrefslogtreecommitdiffhomepage
path: root/.github
diff options
context:
space:
mode:
authorAlbin <albin@mullvad.net>2023-02-13 11:13:41 +0100
committerAlbin <albin@mullvad.net>2023-02-13 11:13:41 +0100
commit4c27353ee0d03032b75ddb762f8293be71b3ded4 (patch)
tree199c48f64260a5680b3227a9e1f5ec4aae956df3 /.github
parent2729847e97259ebfdc95d0604dad3865ca977098 (diff)
downloadmullvadvpn-4c27353ee0d03032b75ddb762f8293be71b3ded4.tar.xz
mullvadvpn-4c27353ee0d03032b75ddb762f8293be71b3ded4.zip
Add GH actions job for AGP linting
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/android-app.yml11
1 files changed, 11 insertions, 0 deletions
diff --git a/.github/workflows/android-app.yml b/.github/workflows/android-app.yml
index f800fbe138..19f69c5fae 100644
--- a/.github/workflows/android-app.yml
+++ b/.github/workflows/android-app.yml
@@ -115,6 +115,17 @@ jobs:
build-root-directory: android
execution-only-caches: true
+ # Running the AGP lint here rather than in the separate lint workflow (android-ktlint.yml)
+ # since it's easier to make use of the running container, cache and previously ran tasks.
+ - name: Run AGP lint
+ uses: burrunan/gradle-cache-action@v1
+ with:
+ job-id: jdk11
+ arguments: lint
+ gradle-version: wrapper
+ build-root-directory: android
+ execution-only-caches: true
+
- name: Assemble instrumented test apk (app)
uses: burrunan/gradle-cache-action@v1
with: