CICD: Put documentation testing in its own job (#1831)
For increased parallelization and thus a faster CICD pipeline.
commit8ca852c728b18f0f278e064e4e90871afb530f98
authorMartin Nordholts <enselic@gmail.com>
dateFri 3 Sep 2021, 18:03 (5 years ago)
parentdf067f7
.github/workflows/CICD.yml+13
@@ -86,6 +86,19 @@ jobs:
8686 run: bat --list-languages
8787 - name: List of themes
8888 run: bat --list-themes
89+
90+ documentation:
91+ name: Documentation
92+ runs-on: ubuntu-20.04
93+ steps:
94+ - name: Git checkout
95+ uses: actions/checkout@v2
96+ - name: Install Rust toolchain
97+ uses: actions-rs/toolchain@v1
98+ with:
99+ toolchain: stable
100+ default: true
101+ profile: minimal
89102 - name: Check documentation
90103 env:
91104 RUSTDOCFLAGS: -D warnings