feat: improve ci

main
0xMRTT 2 years ago
parent 29a12c5e5e
commit 766cdc108a

@ -1,6 +1,18 @@
image: "rust:latest" image: "rust:latest"
test:cargo: cargo:version:
script: script:
- rustc --version && cargo --version - rustc --version && cargo --version
- cargo test --workspace --verbose
cargo:clippy:
before_script:
- rustup component add clippy
script:
- cargo clippy --no-deps -- -D clippy::all
cargo:fmt:
before_script:
- rustup component add rustfmt
script:
- cargo fmt --check

Loading…
Cancel
Save