mirror of
https://github.com/chronotope/chrono.git
synced 2025-09-28 13:31:35 +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:
|
||||
runs-on: ubuntu-latest
|
||||
name: Check doc links
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Install rust nightly
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: nightly
|
||||
override: true
|
||||
- name: Check docs build without warnings
|
||||
- uses: dtolnay/rust-toolchain@nightly
|
||||
- run: cargo +nightly doc --all-features --no-deps
|
||||
env:
|
||||
RUSTDOCFLAGS: "-D warnings --cfg docsrs"
|
||||
run: cargo +nightly doc --all-features --no-deps
|
||||
|
Loading…
x
Reference in New Issue
Block a user