Skip to content

Commit

Permalink
chore(CI): add cargo doc step to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
seanmonstar committed Dec 10, 2019
1 parent 070c84e commit ff17f79
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ jobs:
command: fmt
args: --all -- --check


test:
name: Test ${{ matrix.rust }} on ${{ matrix.os }}
needs: [style]
Expand Down Expand Up @@ -96,3 +95,23 @@ jobs:
with:
command: test
args: --benches ${{ matrix.features }}

doc:
name: Build docs
needs: [style, test]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1

- name: Install Rust
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
override: true

- name: cargo doc
uses: actions-rs/cargo@v1
with:
command: doc

0 comments on commit ff17f79

Please sign in to comment.