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
390 B
YAML
20 lines
390 B
YAML
image: "rust:latest"
|
|
|
|
cargo:version:
|
|
script:
|
|
- rustc --version && cargo --version
|
|
|
|
cargo:clippy:
|
|
before_script:
|
|
- rustup component add clippy
|
|
script:
|
|
- apt-get update && apt-get install -y --no-install-recommends libclang-dev
|
|
- cargo clippy --no-deps -- -D clippy::all
|
|
|
|
cargo:fmt:
|
|
before_script:
|
|
- rustup component add rustfmt
|
|
script:
|
|
- cargo fmt --check
|
|
|