mirror of https://github.com/zkat/miette.git
ci(doc consistency): check that lib.rs and README.md are consistent (#353)
This commit is contained in:
parent
22b29eec38
commit
24a7bf4f4e
|
|
@ -16,6 +16,12 @@ jobs:
|
|||
with:
|
||||
toolchain: stable
|
||||
components: rustfmt
|
||||
- name: Install cargo-readme
|
||||
run: cargo install cargo-readme
|
||||
- name: Check doc consistency
|
||||
shell: bash
|
||||
run: diff -q README.md <(cargo readme)
|
||||
|| { echo "::error::Update lib.rs then use cargo-readme to update README.md"; exit 1; }
|
||||
- name: rustfmt
|
||||
run: cargo fmt --all -- --check
|
||||
- name: docs
|
||||
|
|
|
|||
Loading…
Reference in New Issue