Skip to content

Commit

Permalink
Revert "Apply spotless automatically during build and commit to PR"
Browse files Browse the repository at this point in the history
  • Loading branch information
dturner committed Nov 2, 2023
1 parent dca54fd commit e695df3
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/Build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,8 @@ jobs:
- name: Setup Gradle
uses: gradle/gradle-build-action@v2

- name: Apply formatting if failed
run: ./gradlew spotlessApply --init-script gradle/init.gradle.kts --no-configuration-cache
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Apply Spotless
- name: Check spotless
run: ./gradlew spotlessCheck --init-script gradle/init.gradle.kts --no-configuration-cache

- name: Build all build type and flavor permutations
run: ./gradlew assemble
Expand Down

0 comments on commit e695df3

Please sign in to comment.