diff --git a/.github/workflows/android.yaml b/.github/workflows/android.yaml index 5270289..101c707 100644 --- a/.github/workflows/android.yaml +++ b/.github/workflows/android.yaml @@ -60,7 +60,7 @@ jobs: uses: gradle/gradle-build-action@v2 id: gradle with: - arguments: moduleCheck lintKotlin :app:assembleDebug :app:lintDebug --stacktrace # run tests here + arguments: lintKotlin :app:assembleDebug :app:lintDebug --stacktrace # run tests here if: steps.commit_formatted_code.outputs.pushed == 'false' actionlint: @@ -80,3 +80,22 @@ jobs: detekt_config: ./config/detekt/detekt.yml detekt_plugins: ./config/detekt/plugins/detekt-rules-compose-1.2.1.jar reviewdog_filter: file # always analyse whole file that was added/modified + + modulecheck: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Set up JDK 11 + uses: actions/setup-java@v3 + with: + distribution: 'temurin' + java-version: 11 + - name: Validating Gradle wrapper checksum + uses: gradle/wrapper-validation-action@v1 + + - run: chmod +x ./gradlew + + - name: Check modules + uses: gradle/gradle-build-action@v2 + with: + arguments: moduleCheck --no-daemon