Skip to content

Commit 2f90e06

Browse files
LeoPatOZ0xNeshi
andauthored
Update .github/workflows/test.yml
Co-authored-by: Nenad <[email protected]>
1 parent 294cea3 commit 2f90e06

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/test.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,15 @@ jobs:
2525
- name: Install stable toolchain
2626
uses: actions-rust-lang/setup-rust-toolchain@v1
2727

28+
- name: Cache cargo-nextest binary
29+
id: cache-cargo-nextest
30+
uses: actions/cache@v4
31+
with:
32+
path: ~/.cargo/bin/cargo-nextest
33+
key: ${{ runner.os }}-cargo-nextest-${{ hashFiles('**/Cargo.lock') }}
34+
2835
- name: Install cargo-nextest
36+
if: steps.cache-cargo-nextest.outputs.cache-hit != 'true'
2937
uses: taiki-e/install-action@v2
3038
with:
3139
tool: cargo-nextest

0 commit comments

Comments
 (0)