瀏覽代碼

refactor(ci): reorder unit-tests to fmt, clippy and tests

Signed-off-by: Sandro-Alessio Gierens <sandro@gierens.de>
Sandro-Alessio Gierens 2 年之前
父節點
當前提交
e445084c45
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      .github/workflows/unit-tests.yml

+ 4 - 4
.github/workflows/unit-tests.yml

@@ -48,11 +48,11 @@ jobs:
           max_attempts: 5
           command: cargo install cargo-hack
 
-      - name: Run unit tests
-        run: cargo hack test 
+      - name: Run rustfmt checks
+        run: cargo fmt --check
 
       - name: Run clippy lints
         run: cargo clippy -- -D warnings 
 
-      - name: Run rustfmt checks
-        run: cargo fmt --check
+      - name: Run unit tests
+        run: cargo hack test