Skip to content

Commit ff17f79

Browse files
committed
chore(CI): add cargo doc step to CI
1 parent 070c84e commit ff17f79

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

.github/workflows/CI.yml

+20-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ jobs:
3030
command: fmt
3131
args: --all -- --check
3232

33-
3433
test:
3534
name: Test ${{ matrix.rust }} on ${{ matrix.os }}
3635
needs: [style]
@@ -96,3 +95,23 @@ jobs:
9695
with:
9796
command: test
9897
args: --benches ${{ matrix.features }}
98+
99+
doc:
100+
name: Build docs
101+
needs: [style, test]
102+
runs-on: ubuntu-latest
103+
steps:
104+
- name: Checkout
105+
uses: actions/checkout@v1
106+
107+
- name: Install Rust
108+
uses: actions-rs/toolchain@v1
109+
with:
110+
profile: minimal
111+
toolchain: nightly
112+
override: true
113+
114+
- name: cargo doc
115+
uses: actions-rs/cargo@v1
116+
with:
117+
command: doc

0 commit comments

Comments
 (0)