]> Untitled Git - lemmy.git/commitdiff
need to use rust image
authorFelix Ableitner <me@nutomic.com>
Fri, 11 Dec 2020 14:28:36 +0000 (15:28 +0100)
committerFelix Ableitner <me@nutomic.com>
Fri, 11 Dec 2020 14:28:36 +0000 (15:28 +0100)
.drone.yml

index 29dcc33aad46a4b96e9595468574ed319fcdbb84..dc12ebdf70b8261403b6ca64c1e8ada022532584 100644 (file)
@@ -10,9 +10,9 @@ steps:
       - chown 1000:1000 . -R
 
   - name: check formatting
-    image: rustdocker/rustfmt:nightly
+    image: rustdocker/rust:nightly
     commands:
-      - /root/.cargo/bin/rustfmt --check .
+      - cargo fmt -- --check
 
   - name: cargo check
     image: ekidd/rust-musl-builder:1.47.0