Просмотр исходного кода

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

Signed-off-by: Sandro-Alessio Gierens <sandro@gierens.de>
Sandro-Alessio Gierens 2 лет назад
Родитель
Сommit
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
           max_attempts: 5
           command: cargo install cargo-hack
           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
       - name: Run clippy lints
         run: cargo clippy -- -D warnings 
         run: cargo clippy -- -D warnings 
 
 
-      - name: Run rustfmt checks
-        run: cargo fmt --check
+      - name: Run unit tests
+        run: cargo hack test