fix(ci): add clippy and rustfmt
parent
29f13d49b9
commit
fd81b64262
|
@ -7,4 +7,5 @@ pipeline:
|
||||||
clippy:
|
clippy:
|
||||||
image: 'rust:1.69'
|
image: 'rust:1.69'
|
||||||
commands:
|
commands:
|
||||||
|
- rustup component add clippy
|
||||||
- cargo clippy -- --no-deps -Dwarnings
|
- cargo clippy -- --no-deps -Dwarnings
|
||||||
|
|
|
@ -7,4 +7,5 @@ pipeline:
|
||||||
lint:
|
lint:
|
||||||
image: 'rust:1.69'
|
image: 'rust:1.69'
|
||||||
commands:
|
commands:
|
||||||
|
- rustup component add rustfmt
|
||||||
- cargo fmt -- --check
|
- cargo fmt -- --check
|
||||||
|
|
Loading…
Reference in New Issue