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" image: "rust:latest"
version:cargo: cargo:version:
script: script:
- rustc --version && cargo --version - rustc --version && cargo --version
clippy:cargo: cargo:clippy:
before_script:
- rustup component add clippy
script: script:
- cargo clippy --no-deps -- -D clippy::all - cargo clippy --no-deps -- -D clippy::all
fmt:cargo: cargo:fmt:
before_script:
- rustup component add rustfmt
script: script:
- cargo fmt --check - cargo fmt --check

Loading…
Cancel
Save