]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Print a message when clang-tidy fails
authorFred Morcos <fred.morcos@open-xchange.com>
Wed, 21 Jun 2023 11:06:39 +0000 (13:06 +0200)
committerFred Morcos <fred.morcos@open-xchange.com>
Thu, 22 Jun 2023 14:31:56 +0000 (16:31 +0200)
.github/workflows/build-and-test-all.yml

index 9c33fb83938ce6b5ad35439beb2e793d0c70396f..7d2a75fd49e20c885fc8bedd16324ba6e421cdc4 100644 (file)
@@ -559,12 +559,15 @@ jobs:
     steps:
       - run: |
           if [ "x${{ needs.build-auth.outputs.clang-tidy-failed }}" != "x" -a "${{ needs.build-auth.outputs.clang-tidy-failed }}" != "0" ]; then
+            echo "::error::Auth clang-tidy failed"
             exit 1
           fi
-          if [ "x${{ needs.build-dnsdist.outputs.clang-tidy-failed }}" != "x" -a "${{ needs.build-dnsdist.outputs.clang-tidy-failed }}" != "0" ]; then
+          if [ "x${{needs.build-recursor.outputs.clang-tidy-failed}}" != "x" -a "${{needs.build-recursor.outputs.clang-tidy-failed}}" != "0" ]; then
+            echo "::error::Rec clang-tidy failed"
             exit 1
           fi
-          if [ "x${{needs.build-recursor.outputs.clang-tidy-failed}}" != "x" -a "${{needs.build-recursor.outputs.clang-tidy-failed}}" != "0" ]; then
+          if [ "x${{ needs.build-dnsdist.outputs.clang-tidy-failed }}" != "x" -a "${{ needs.build-dnsdist.outputs.clang-tidy-failed }}" != "0" ]; then
+            echo "::error::dnsdist clang-tidy failed"
             exit 1
           fi