GitHub build action: check whether mkdocs can build docs in PRs

For example, this should check for broken links from one `.md`
file to another.
This commit is contained in:
Ilya Grigoriev 2023-08-29 22:27:02 -07:00
parent 0e499dd6aa
commit 95121a09c0

View file

@ -62,6 +62,23 @@ jobs:
components: rustfmt
- run: cargo +nightly fmt --all -- --check
mkdocs:
name: Check that MkDocs can build the docs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: 3.11
- name: Install poetry
uses: abatilo/actions-poetry@v2
with:
poetry-version: latest
- name: Install dependencies
run: poetry install
- name: Check that `mkdocs` can build the docs
run: poetry run -- mkdocs build --strict
cargo-deny:
runs-on: ubuntu-latest
strategy: