mirror of
https://github.com/eza-community/eza
synced 2024-10-01 13:43:56 +00:00
test(actions): stabalised unit-tests.yml
Put a retry and a timeout on the cargo install command.
This commit is contained in:
parent
f23ff86fbe
commit
f25bd67821
6
.github/workflows/unit-tests.yml
vendored
6
.github/workflows/unit-tests.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue