From 174e85734ec567f23127f0bd3cce3dcc2154e265 Mon Sep 17 00:00:00 2001 From: meliurwen Date: Wed, 12 Oct 2022 14:47:09 +0200 Subject: [PATCH] Added docs generation in GitHub Workflows --- .github/workflows/build.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0e9a88c..7cc300c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,7 +22,7 @@ jobs: profile: minimal toolchain: stable default: true - components: clippy, rustfmt + components: clippy, rustfmt, rust-docs - name: Setup Rust nightly uses: actions-rs/toolchain@v1 with: @@ -30,6 +30,11 @@ jobs: toolchain: nightly default: false components: rustfmt + - name: Docs (doc) + uses: actions-rs/cargo@v1 + with: + command: rustdoc + args: --package reCTBN -- --default-theme=ayu - name: Linting (clippy) uses: actions-rs/clippy-check@v1 with: -- 2.36.3