From 7a8394c5d4ea2c2d403052498ed2b1505311e160 Mon Sep 17 00:00:00 2001 From: Taylor McIntyre Date: Wed, 23 Sep 2026 13:34:27 -0500 Subject: [PATCH] android: add lint to ci check Fixes tailscale/corp#48746 Signed-off-by: Taylor McIntyre --- .github/workflows/android.yml | 3 +++ Makefile | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 78a1d5d4db..62c022b4bb 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -41,3 +41,6 @@ jobs: - name: Run tests run: make test + + - name: Run release lint + run: make release-lint diff --git a/Makefile b/Makefile index 45b8d2dab4..1b9643fa42 100644 --- a/Makefile +++ b/Makefile @@ -370,6 +370,10 @@ checkandroidsdk: ## Check that Android SDK is installed test: gradle-dependencies ## Run the Android tests (cd android && ./gradlew test) +.PHONY: release-lint +release-lint: gradle-dependencies ## Run release lint checks + (cd android && ./gradlew --no-daemon lintVitalRelease) + .PHONY: fmt fmt: gradle-dependencies ## Format the Android code (cd android && ./gradlew ktfmtFormat)