also check formatting, more extensive cargo check

pull/1335/head
Felix Ableitner 2020-12-11 14:57:43 +01:00
parent 08748bbede
commit 8b0374cc4e
3 changed files with 43 additions and 38 deletions

View File

@ -9,10 +9,15 @@ steps:
commands: commands:
- chown 1000:1000 . -R - chown 1000:1000 . -R
- name: check formatting
image: ekidd/rust-musl-builder:1.47.0
commands:
- cargo fmt -- --check
- name: cargo check - name: cargo check
image: ekidd/rust-musl-builder:1.47.0 image: ekidd/rust-musl-builder:1.47.0
commands: commands:
- cargo check --all - cargo check --workspace --all-targets
- name: cargo clippy - name: cargo clippy
image: ekidd/rust-musl-builder:1.47.0 image: ekidd/rust-musl-builder:1.47.0