Added docs generation in GitHub Workflows

pull/67/head
Meliurwen 2 years ago
parent c247da6bc0
commit 174e85734e
Signed by: meliurwen
GPG Key ID: 818A8B35E9F1CE10
  1. 7
      .github/workflows/build.yml

@ -22,7 +22,7 @@ jobs:
profile: minimal profile: minimal
toolchain: stable toolchain: stable
default: true default: true
components: clippy, rustfmt components: clippy, rustfmt, rust-docs
- name: Setup Rust nightly - name: Setup Rust nightly
uses: actions-rs/toolchain@v1 uses: actions-rs/toolchain@v1
with: with:
@ -30,6 +30,11 @@ jobs:
toolchain: nightly toolchain: nightly
default: false default: false
components: rustfmt components: rustfmt
- name: Docs (doc)
uses: actions-rs/cargo@v1
with:
command: rustdoc
args: --package reCTBN -- --default-theme=ayu
- name: Linting (clippy) - name: Linting (clippy)
uses: actions-rs/clippy-check@v1 uses: actions-rs/clippy-check@v1
with: with:

Loading…
Cancel
Save