From e1d802720382fcfc845cee3960dcf022fb667d24 Mon Sep 17 00:00:00 2001 From: ROMemories <152802150+ROMemories@users.noreply.github.com> Date: Thu, 27 Feb 2025 09:21:54 +0100 Subject: [PATCH] ci(support-matrix): check the generation exit code The `mdbook-cmdrun` preprocessor, which is used to render the table in the book, cannot make the mdbook run fail in case of non-zero exit code, so we check this separately in the lint step. --- .github/workflows/main.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8f85c908e..f193076c5 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -332,6 +332,9 @@ jobs: - name: typos uses: crate-ci/typos@v1.22.0 + - name: Check the support matrix generation exit code + run: ./doc/gen_support_matrix_html.rs generate doc/support_matrix.yml /dev/null + - name: Install mdbook and mdbook utils uses: taiki-e/install-action@v2 with: