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.
19 lines
310 B
YAML
19 lines
310 B
YAML
2 years ago
|
image: "rust:latest"
|
||
|
|
||
|
cargo:version:
|
||
|
script:
|
||
|
- rustc --version && cargo --version
|
||
|
|
||
|
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
|
||
|
|