From 3b2d6a2b46167420e2a6d99e3c217cb39fe80d62 Mon Sep 17 00:00:00 2001 From: GerardPaligot Date: Sat, 26 Oct 2024 13:45:41 +0200 Subject: [PATCH] chore(github): scope linter by app. --- .github/workflows/build.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 5daf069bf..c71b0d1d1 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -27,10 +27,10 @@ jobs: java-version: 21 - name: Check Kotlin lint - run: ./gradlew ktlintCheck detekt --stacktrace + run: ./gradlew :androidApp:ktlintCheck :androidApp:detekt --stacktrace - name: Check lint - run: ./gradlew lintDebug --stacktrace + run: ./gradlew :androidApp::lintDebug --stacktrace - name: Check and build android project run: ./gradlew :androidApp:assembleDebug :androidApp:bundleDebug --stacktrace @@ -75,10 +75,10 @@ jobs: java-version: 21 - name: Check Kotlin lint - run: ./gradlew ktlintCheck detekt --stacktrace + run: ./gradlew :wear:wear-app:ktlintCheck :wear:wear-app:detekt --stacktrace - name: Check lint - run: ./gradlew lintDebug --stacktrace + run: ./gradlew :wear:wear-app:lintDebug --stacktrace - name: Check and build android project run: ./gradlew :wear:wear-app:assembleDebug :wear:wear-app:bundleDebug --stacktrace