From 360c027abbcbcdf79369a2f94380ee3802c69f34 Mon Sep 17 00:00:00 2001 From: Olivier Goffart Date: Fri, 14 Jun 2024 12:27:08 +0200 Subject: [PATCH] CI: ensure that CI fails if there is a formatting error reviewdog is not always failling --- .github/workflows/build_docs.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/build_docs.yaml b/.github/workflows/build_docs.yaml index 384d9af91d5..402a6e52d26 100644 --- a/.github/workflows/build_docs.yaml +++ b/.github/workflows/build_docs.yaml @@ -68,6 +68,9 @@ jobs: tool_name: xtask license_header level: error fail_on_error: true + # reviewdog should normally have errored out if there was any diff, but we've seen faillure in the past + - name: sanitycheck reviewdog + run: git diff --exitcode - run: sudo apt-get install reuse - name: Check reuse compliance run: cargo xtask check_reuse_compliance