fix(ci): add clippy and rustfmt
This commit is contained in:
parent
29f13d49b9
commit
fd81b64262
2 changed files with 2 additions and 0 deletions
|
|
@ -7,4 +7,5 @@ pipeline:
|
|||
clippy:
|
||||
image: 'rust:1.69'
|
||||
commands:
|
||||
- rustup component add clippy
|
||||
- cargo clippy -- --no-deps -Dwarnings
|
||||
|
|
|
|||
|
|
@ -7,4 +7,5 @@ pipeline:
|
|||
lint:
|
||||
image: 'rust:1.69'
|
||||
commands:
|
||||
- rustup component add rustfmt
|
||||
- cargo fmt -- --check
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue