Skip to content

Commit 400015a

Browse files
Use nextest
1 parent c52e631 commit 400015a

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/build.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ jobs:
2323
os: [ubuntu-latest, macos-latest, windows-latest]
2424
env:
2525
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
26+
CARGO_TERM_COLOR: always
2627
steps:
2728
- uses: actions/checkout@v4
2829
- name: Create `out/`
@@ -35,16 +36,20 @@ jobs:
3536
uses: dtolnay/rust-toolchain@nightly
3637
with:
3738
targets: aarch64-apple-darwin, x86_64-apple-darwin
39+
components: clippy
3840

3941
- name: Install Rust for Windows
4042
if: matrix.os == 'windows-latest'
4143
uses: dtolnay/rust-toolchain@nightly
44+
with:
45+
components: clippy
4246

4347
- name: Install Rust for Linux
4448
if: matrix.os == 'ubuntu-latest'
4549
uses: dtolnay/rust-toolchain@nightly
4650
with:
4751
targets: x86_64-pc-windows-gnu, x86_64-unknown-linux-musl, aarch64-unknown-linux-musl
52+
components: clippy
4853

4954
- name: Install Linux dependencies
5055
if: matrix.os == 'ubuntu-latest'
@@ -56,11 +61,14 @@ jobs:
5661
- name: Install Rust cache
5762
uses: Swatinem/rust-cache@v2
5863

64+
- name: Install nextest
65+
uses: taiki-e/install-action@nextest
66+
5967
- name: Lint code
6068
run: cargo clippy
6169

6270
- name: Run tests
63-
run: cargo+nightly test --no-default-features
71+
run: cargo nextest run --no-default-features --no-fail-fast
6472

6573
- name: Build macOS Intel
6674
if: matrix.os == 'macos-latest'

0 commit comments

Comments
 (0)