Quellcode durchsuchen

[Drone] Enable fmt and clippy in build

Slava Barinov vor 2 Jahren
Ursprung
Commit
ca90ddde51
1 geänderte Dateien mit 3 neuen und 0 gelöschten Zeilen
  1. 3 0
      .drone.yml

+ 3 - 0
.drone.yml

@@ -7,8 +7,11 @@ steps:
   image: rust:1.73
   commands:
   - rustup default nightly
+  - rustup component add rustfmt clippy
+  - cargo fmt --all -- --check
   - cargo build --verbose --all --features docker
   - cargo test --verbose --all --features docker
+  - cargo clippy
 
 - name: build docker image
   image: plugins/docker