Fix CI env

main
Michal S 2 years ago
parent 20f62c309c
commit ecdfd2148f
No known key found for this signature in database
GPG Key ID: 52F8801FC912EB4F

@ -1,13 +1,17 @@
image: "rust:latest"
version:cargo:
cargo:version:
script:
- rustc --version && cargo --version
clippy:cargo:
cargo:clippy:
before_script:
- rustup component add clippy
script:
- cargo clippy --no-deps -- -D clippy::all
fmt:cargo:
cargo:fmt:
before_script:
- rustup component add rustfmt
script:
- cargo fmt --check

Loading…
Cancel
Save