From 9b4c146290ce38b71b86e68d93acbd3691562f00 Mon Sep 17 00:00:00 2001 From: Farhad Shabani Date: Fri, 6 Jan 2023 23:41:19 +0330 Subject: [PATCH] Add cargo doc check to CI (#332) --- .github/workflows/rust.yml | 13 +++++++++++++ crates/ibc/src/lib.rs | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 360134332..dcbb3a299 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -43,6 +43,19 @@ jobs: with: command: fmt args: --all -- --check + + doc: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions-rs/toolchain@v1 + with: + toolchain: stable + override: true + - uses: actions-rs/cargo@v1 + with: + command: doc + args: --all-features --release clippy_all_features: runs-on: ubuntu-latest diff --git a/crates/ibc/src/lib.rs b/crates/ibc/src/lib.rs index af1061582..15c518c05 100644 --- a/crates/ibc/src/lib.rs +++ b/crates/ibc/src/lib.rs @@ -20,7 +20,7 @@ //! //! The layout of this crate mirrors the classification of the [Interchain //! Standards][ics-standards]. The classification consists of [Core][core], [Clients][clients], -//! [Applications][applications], and [Relayer][relayer]. +//! and [Applications][applications]. //! //! `Core` consists of the designs and logic pertaining to the transport, authentication, and //! ordering layers of the IBC protocol, the fundamental pieces.