Skip to content

Commit

Permalink
Build docs using nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
bash committed Jun 10, 2024
1 parent fb3d4c0 commit 8d5aa1b
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,13 @@ env:
jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --all-features
- name: Check format
run: cargo fmt -- --check
- name: Docs
run: cargo doc --all-features

test:
strategy:
matrix:
Expand All @@ -33,3 +31,12 @@ jobs:
run: cargo test --all-features
- name: Run clippy
run: cargo clippy --all-targets --all-features -- --deny warnings
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: rustup toolchain install nightly
- name: Build Docs
run: cargo +nightly doc --all-features
env:
RUSTDOCFLAGS: -Dwarnings --cfg docsrs

0 comments on commit 8d5aa1b

Please sign in to comment.