23
23
os : [ubuntu-latest, macos-latest, windows-latest]
24
24
env :
25
25
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
26
+ CARGO_TERM_COLOR : always
26
27
steps :
27
28
- uses : actions/checkout@v4
28
29
- name : Create `out/`
@@ -35,16 +36,20 @@ jobs:
35
36
uses : dtolnay/rust-toolchain@nightly
36
37
with :
37
38
targets : aarch64-apple-darwin, x86_64-apple-darwin
39
+ components : clippy
38
40
39
41
- name : Install Rust for Windows
40
42
if : matrix.os == 'windows-latest'
41
43
uses : dtolnay/rust-toolchain@nightly
44
+ with :
45
+ components : clippy
42
46
43
47
- name : Install Rust for Linux
44
48
if : matrix.os == 'ubuntu-latest'
45
49
uses : dtolnay/rust-toolchain@nightly
46
50
with :
47
51
targets : x86_64-pc-windows-gnu, x86_64-unknown-linux-musl, aarch64-unknown-linux-musl
52
+ components : clippy
48
53
49
54
- name : Install Linux dependencies
50
55
if : matrix.os == 'ubuntu-latest'
@@ -56,11 +61,14 @@ jobs:
56
61
- name : Install Rust cache
57
62
uses : Swatinem/rust-cache@v2
58
63
64
+ - name : Install nextest
65
+ uses : taiki-e/install-action@nextest
66
+
59
67
- name : Lint code
60
68
run : cargo clippy
61
69
62
70
- name : Run tests
63
- run : cargo+nightly test --no-default-features
71
+ run : cargo nextest run --no-default-features --no-fail-fast
64
72
65
73
- name : Build macOS Intel
66
74
if : matrix.os == 'macos-latest'
0 commit comments