Skip to content

Commit b0dac54

Browse files
authored
perf: use pre-built nextest binaries in CI (#64)
1 parent bf70cac commit b0dac54

1 file changed

Lines changed: 9 additions & 3 deletions

File tree

.github/workflows/tests.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,9 @@ jobs:
3131
shared-key: ${{ runner.os }}
3232

3333
- name: Install nextest
34-
run: cargo install cargo-nextest --locked
34+
uses: taiki-e/install-action@nextest
35+
with:
36+
tool: nextest
3537

3638
- name: Run all tests
3739
run: cargo nextest run --profile ci
@@ -80,11 +82,15 @@ jobs:
8082
with:
8183
shared-key: ${{ runner.os }}
8284

83-
- name: Setup Rust environment and install nextest
85+
- name: Setup Rust environment
8486
run: |
8587
source ~/.cargo/env
8688
rustup default stable
87-
cargo install cargo-nextest || true
89+
90+
- name: Install nextest
91+
uses: taiki-e/install-action@nextest
92+
with:
93+
tool: nextest
8894

8995
- name: Fix target directory permissions from previous runs
9096
run: |

0 commit comments

Comments
 (0)