mirror of
https://github.com/chronotope/chrono.git
synced 2025-10-02 15:26:12 +00:00
update check-docs
This commit is contained in:
parent
c59235aca2
commit
2474b02198
10
.github/workflows/test.yml
vendored
10
.github/workflows/test.yml
vendored
@ -127,15 +127,9 @@ jobs:
|
|||||||
|
|
||||||
check-docs:
|
check-docs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
name: Check doc links
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Install rust nightly
|
- uses: dtolnay/rust-toolchain@nightly
|
||||||
uses: actions-rs/toolchain@v1
|
- run: cargo +nightly doc --all-features --no-deps
|
||||||
with:
|
|
||||||
toolchain: nightly
|
|
||||||
override: true
|
|
||||||
- name: Check docs build without warnings
|
|
||||||
env:
|
env:
|
||||||
RUSTDOCFLAGS: "-D warnings --cfg docsrs"
|
RUSTDOCFLAGS: "-D warnings --cfg docsrs"
|
||||||
run: cargo +nightly doc --all-features --no-deps
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user