|
@@ -12,6 +12,7 @@ on:
|
|
|
|
|
|
env:
|
|
env:
|
|
RUSTFLAGS: -D warnings
|
|
RUSTFLAGS: -D warnings
|
|
|
|
+ RUSTDOCFLAGS: -Dwarnings
|
|
RUST_BACKTRACE: 1
|
|
RUST_BACKTRACE: 1
|
|
|
|
|
|
defaults:
|
|
defaults:
|
|
@@ -45,5 +46,6 @@ jobs:
|
|
- name: cargo build no_std
|
|
- name: cargo build no_std
|
|
run: cargo build --target thumbv7m-none-eabi --no-default-features
|
|
run: cargo build --target thumbv7m-none-eabi --no-default-features
|
|
- run: cargo clippy --all-features
|
|
- run: cargo clippy --all-features
|
|
|
|
+ - run: cargo doc --all-features
|
|
- name: Ensure README.md is updated
|
|
- name: Ensure README.md is updated
|
|
run: '[ "$(< README.md)" = "$(cargo readme)" ]'
|
|
run: '[ "$(< README.md)" = "$(cargo readme)" ]'
|