Skip to content

Commit 8d5aa1b

Browse files
committed
Build docs using nightly
1 parent fb3d4c0 commit 8d5aa1b

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,13 @@ env:
1313
jobs:
1414
build:
1515
runs-on: ubuntu-latest
16-
1716
steps:
1817
- uses: actions/checkout@v3
1918
- name: Build
2019
run: cargo build --all-features
2120
- name: Check format
2221
run: cargo fmt -- --check
23-
- name: Docs
24-
run: cargo doc --all-features
22+
2523
test:
2624
strategy:
2725
matrix:
@@ -33,3 +31,12 @@ jobs:
3331
run: cargo test --all-features
3432
- name: Run clippy
3533
run: cargo clippy --all-targets --all-features -- --deny warnings
34+
docs:
35+
runs-on: ubuntu-latest
36+
steps:
37+
- uses: actions/checkout@v3
38+
- run: rustup toolchain install nightly
39+
- name: Build Docs
40+
run: cargo +nightly doc --all-features
41+
env:
42+
RUSTDOCFLAGS: -Dwarnings --cfg docsrs

0 commit comments

Comments
 (0)