From 2ada299b95b5bcd032ffd5a2ff4daf3c02d75627 Mon Sep 17 00:00:00 2001 From: Jakub Konka Date: Fri, 25 Oct 2019 09:28:00 +0200 Subject: [PATCH] Add docs section --- .github/workflows/ci.yml | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 56351ff8ec..11626fa872 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -47,7 +47,6 @@ jobs: test: name: Test - needs: build runs-on: ${{ matrix.os }} strategy: fail-fast: false @@ -72,3 +71,22 @@ jobs: with: command: test args: --all --features wasm_tests + + doc: + name: Doc + runs-on: macOS-latest + + steps: + - name: Checkout + uses: actions/checkout@v1 + - name: Install Rust + uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: stable + override: true + - name: Generate docs + uses: actions-rs/cargo@v1 + with: + command: doc + args: --no-deps --all