mirror of
https://github.com/martinvonz/jj.git
synced 2025-01-18 18:27:38 +00:00
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:
parent
0e499dd6aa
commit
95121a09c0
1 changed files with 17 additions and 0 deletions
17
.github/workflows/build.yml
vendored
17
.github/workflows/build.yml
vendored
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue