CICD: Put documentation testing in its own job (#1831)

For increased parallelization and thus a faster CICD pipeline.
This commit is contained in:
Martin Nordholts 2021-09-03 18:03:52 +02:00 committed by GitHub
parent df067f7d1f
commit 8ca852c728
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 0 deletions

View File

@ -86,6 +86,19 @@ jobs:
run: bat --list-languages
- name: List of themes
run: bat --list-themes
documentation:
name: Documentation
runs-on: ubuntu-20.04
steps:
- name: Git checkout
uses: actions/checkout@v2
- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
default: true
profile: minimal
- name: Check documentation
env:
RUSTDOCFLAGS: -D warnings