Skip to content

Commit 661fce2

Browse files
committed
Update CI workflow to use cargo-nextest
1 parent 177263b commit 661fce2

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ jobs:
1414
steps:
1515
- uses: actions/checkout@v4
1616
- name: Build
17-
run: cargo build --verbose
17+
run: |
18+
cargo install cargo-nextest --locked
19+
cargo build --verbose
1820
1921
tests:
2022
runs-on: ubuntu-latest
@@ -23,7 +25,8 @@ jobs:
2325
steps:
2426
- uses: actions/checkout@v4
2527
- name: Run tests
26-
run: cargo test --verbose
28+
run: |
29+
cargo nextest --verbose
2730
2831
cargo-audit:
2932
runs-on: ubuntu-latest
@@ -35,7 +38,6 @@ jobs:
3538
- name: Install cargo-audit
3639
run: |
3740
cargo install cargo-audit
38-
cargo install cargo-nextest --locked
3941
4042
- name: Run cargo audit
4143
run: cargo audit
@@ -47,7 +49,8 @@ jobs:
4749
steps:
4850
- uses: actions/checkout@v4
4951
- name: Run Docker tests
50-
run: cargo test --verbose -F docker-tests
52+
run: |
53+
cargo nextest --verbose -F docker-tests
5154
5255
native-tests:
5356
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)