Преглед изворни кода

Merge pull request #339 from MartinFillon/make-windows-test-less-flaky

tests(actions): stabalised unit-tests.yml
Christina Sørensen пре 2 година
родитељ
комит
5c75b0ea23
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