A fully functional Android app built entirely with Kotlin and Jetpack Compose
Apply spotless automatically during build and commit back to PR
Don Turnerbe062d6c9e2f
diff --git a/.github/workflows/Build.yaml b/.github/workflows/Build.yamlindex ccea5dc4f..a19e245f8 100644--- a/.github/workflows/Build.yaml+++ b/.github/workflows/Build.yaml@@ -34,8 +34,11 @@ jobs:- name: Setup Gradleuses: gradle/gradle-build-action@v2- - name: Check spotless- run: ./gradlew spotlessCheck --init-script gradle/init.gradle.kts --no-configuration-cache+ - name: Apply formatting if failed+ run: ./gradlew spotlessApply --init-script gradle/init.gradle.kts --no-configuration-cache+ - uses: stefanweifel/git-auto-commit-action@v4+ with:+ commit_message: Apply Spotless- name: Build all build type and flavor permutationsrun: ./gradlew assemble