Skip to content

Commit

Permalink
ci(support-matrix): check the generation exit code
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
ROMemories committed Feb 27, 2025
1 parent 20bcede commit e1d8027
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,9 @@ jobs:
- name: typos
uses: crate-ci/[email protected]

- 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:
Expand Down

0 comments on commit e1d8027

Please sign in to comment.