Merge branch 'ci-format-check-before-cargo-test' into 'master'

CI: Check format before running test

See merge request famedly/conduit!124
This commit is contained in:
Timo Kösters 2021-07-14 20:53:10 +00:00
commit 9a4789efdc

View File

@ -30,8 +30,8 @@ test:cargo:
- rustup component add clippy rustfmt - rustup component add clippy rustfmt
script: script:
- rustc --version && cargo --version # Print version info for debugging - rustc --version && cargo --version # Print version info for debugging
- cargo test --workspace --verbose --locked
- cargo fmt --all -- --check - cargo fmt --all -- --check
- cargo test --workspace --verbose --locked
- cargo clippy - cargo clippy
# --------------------------------------------------------------------- # # --------------------------------------------------------------------- #