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

Merge branch 'main' into cafk-gen-test-dirs

Signed-off-by: Christina Sørensen <christina@cafkafk.com>
Christina Sørensen 2 лет назад
Родитель
Сommit
242cf15d35
1 измененных файлов с 5 добавлено и 1 удалено
  1. 5 1
      .github/workflows/unit-tests.yml

+ 5 - 1
.github/workflows/unit-tests.yml

@@ -40,7 +40,11 @@ jobs:
           toolchain: ${{ matrix.rust }}
 
       - name: Install cargo-hack
-        run: cargo install cargo-hack@0.5.27
+        uses: nick-fields/retry@v2
+        with:
+          timeout_minutes: 5
+          max_attemps: 5
+          command: cargo install cargo-hack
 
       - name: Run unit tests
         run: cargo hack test