From 399b659aa755a20e02b778907868eea989d0166b Mon Sep 17 00:00:00 2001 From: Jens Klingenberg Date: Mon, 10 Feb 2025 20:11:00 +0100 Subject: [PATCH] Add GitHub Action error message (#775) * Fix headers code generation #752 * Fix headers code generation #752 * Fix headers code generation #752 * Fix headers code generation #752 --- .github/workflows/build.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6ff1f205..887c6ff5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -34,6 +34,9 @@ jobs: - uses: gradle/actions/setup-gradle@v4 - name: API check run: ./gradlew ktLintCheck + - name: 'Notify on failure' + if: failure() + run: echo "Format check failed. Run ./gradlew ktLintFormat to fix." api_check: name: API check runs-on: ubuntu-latest