You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
341 B
YAML
20 lines
341 B
YAML
image: "rust:latest"
|
|
|
|
cargo:version:
|
|
script:
|
|
- rustc --version && cargo --version
|
|
|
|
cargo:clippy:
|
|
before_script:
|
|
- rustup component add clippy
|
|
script:
|
|
- apt install libclang-dev
|
|
- cargo clippy --no-deps -- -D clippy::all
|
|
|
|
cargo:fmt:
|
|
before_script:
|
|
- rustup component add rustfmt
|
|
script:
|
|
- cargo fmt --check
|
|
|