Skip to content

Commit

Permalink
Added rustdoc to CI
Browse files Browse the repository at this point in the history
WIll check whether documentation builds on a platform.
  • Loading branch information
kotauskas committed Mar 5, 2021
1 parent e921fc4 commit f23738a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions .github/workflows/checks_and_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,11 @@ jobs:
command: test
env:
RUSTFLAGS: -D warnings

- name: Run rustdoc
uses: actions-rs/cargo@v1
with:
command: doc
args: "--no-deps" # We don't have time to waste.
env:
RUSTFLAGS: -D warnings
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ tokio = {version = "1.0", features = ["rt", "macros", "rt-multi-thread"]}
winapi = {version = "0.3", features = ["std", "winbase", "winerror", "processthreadsapi", "fileapi", "handleapi", "namedpipeapi"]}

[features]
default = ["nonblocking"]
default = []
nonblocking = ["blocking", "futures"]
doc_cfg = []

Expand Down

0 comments on commit f23738a

Please sign in to comment.