From c28aab0ada1f88e715b7e6e103a708c2afff5a5f Mon Sep 17 00:00:00 2001 From: Nahor Date: Mon, 4 Mar 2024 14:15:43 -0800 Subject: [PATCH] ci(doc consistency): check that lib.rs and README.md are consistent --- .github/workflows/ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7ab9326e..309babec 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,6 +16,12 @@ jobs: with: toolchain: stable components: rustfmt + - name: Check doc consistency + uses: dtolnay/install@master + with: + crate: cargo-readme + shell: bash + run: diff -q README.md <(cargo readme) - name: rustfmt run: cargo fmt --all -- --check - name: docs