Skip to content

Commit

Permalink
Add docs build to CI
Browse files Browse the repository at this point in the history
This should avoid accidentally breaking docs.
  • Loading branch information
flub committed Nov 10, 2020
1 parent 1b1c271 commit 4fafc34
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,23 @@ jobs:
override: true
- name: Run Tests
run: cargo test
docs:
runs-on: ubuntu-latest
env:
RUSTDOCFLAGS: -Dwarnings
steps:
- uses: actions/checkout@v2
- name: Install Rust Nightly
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
components: rust-docs
- name: Check docs
uses: actions-rs/cargo@v1
with:
command: doc
args: --workspace --no-deps
bench:
name: Bench ${{ matrix.os }}
runs-on: ${{ matrix.os }}
Expand All @@ -49,4 +66,4 @@ jobs:
toolchain: 'stable'
override: true
- name: Run Benchmarks
run: cargo bench
run: cargo bench

0 comments on commit 4fafc34

Please sign in to comment.