Check rustfmt and clippy in CI
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
5c500e0f30
commit
da8793f3f5
1 changed files with 7 additions and 0 deletions
|
@ -7,6 +7,13 @@ platform:
|
||||||
arch: amd64
|
arch: amd64
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- name: lint
|
||||||
|
image: rust:latest
|
||||||
|
commands:
|
||||||
|
- rustup component add rustfmt clippy
|
||||||
|
- cargo fmt --check
|
||||||
|
- cargo clippy
|
||||||
|
|
||||||
- name: build-x86_64-unknown-linux-gnu
|
- name: build-x86_64-unknown-linux-gnu
|
||||||
image: rust:latest
|
image: rust:latest
|
||||||
commands:
|
commands:
|
||||||
|
|
Loading…
Reference in a new issue