Skip to content

Commit

Permalink
test: run buildHealth on the build-logic too
Browse files Browse the repository at this point in the history
  • Loading branch information
staktrace committed Jan 22, 2025
1 parent aa1218d commit 987e65b
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ jobs:
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4

- name: Execute buildHealth for build-logic
run: './gradlew -p build-logic buildHealth -s'

- name: Execute check
run: './gradlew check -s'

Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,13 @@ jobs:
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4

- name: Execute buildHealth for build-logic
run: './gradlew -p build-logic buildHealth -s'

- name: Execute check
run: './gradlew check -s'

- name: Execute buildHealth
- name: Execute buildHealth for main project
run: './gradlew buildHealth -s'

- name: Publish artifacts
Expand Down Expand Up @@ -88,4 +91,4 @@ jobs:
kotlin-format/build/libs/kotlin-formatter-${{ needs.release_version.outputs.version }}-all.jar
kotlin-format/build/distributions/kotlin-formatter-dist-${{ needs.release_version.outputs.version }}.zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5 changes: 4 additions & 1 deletion .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,11 @@ jobs:
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4

- name: Execute buildHealth for build-logic
run: './gradlew -p build-logic buildHealth -s'

- name: Execute check
run: './gradlew check -s'

- name: Execute buildHealth
- name: Execute buildHealth for main project
run: './gradlew buildHealth -s'

0 comments on commit 987e65b

Please sign in to comment.