File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -34,15 +34,18 @@ jobs:
3434 ~/.cargo/.crates.toml
3535 target
3636 key : ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
37+
3738 - name : Install latest nightly
3839 uses : dtolnay/rust-toolchain@nightly
3940 with :
4041 toolchain : nightly
4142 targets : thumbv7m-none-eabi
4243 components : rustfmt, clippy
43- - run : cargo install cargo-readme
44+
4445 - run : cargo fmt --check
4546 - run : cargo test
47+ - run : cargo clippy --all-features
48+ - run : cargo doc --all-features
4649
4750 # Ensure that the library doesn't depend on std/alloc. A binary
4851 # that depends on the library is used for this (instead of
5255 run : cargo build --target thumbv7m-none-eabi --no-default-features
5356 working-directory : ci/ensure_no_std
5457
55- - run : cargo clippy --all-features
56- - run : cargo doc --all-features
57- - name : Ensure README.md is updated
58+ - run : cargo install cargo-readme
59+ - name : Ensure README.md is up-to-date
5860 run : ' [ "$(< README.md)" = "$(cargo readme)" ]'
You can’t perform that action at this time.
0 commit comments