@@ -18,50 +18,31 @@ jobs:
18
18
steps :
19
19
- uses : actions/checkout@v4
20
20
- uses : dtolnay/rust-toolchain@stable
21
-
22
- - name : Run cargo check
23
- uses : actions-rs/cargo@v1
24
- with :
25
- command : check
21
+ - run : cargo check
26
22
27
23
test :
28
24
name : Test Suite
29
25
runs-on : ubuntu-latest
30
26
steps :
31
27
- uses : actions/checkout@v4
32
28
- uses : dtolnay/rust-toolchain@stable
33
-
34
- - name : Run cargo test
35
- uses : actions-rs/cargo@v1
36
- with :
37
- command : test
29
+ - run : cargo test
38
30
39
31
unstable :
40
32
name : Test Suite (unstable)
41
33
runs-on : ubuntu-latest
42
34
steps :
43
35
- uses : actions/checkout@v4
44
36
- uses : dtolnay/rust-toolchain@nightly
45
-
46
- - name : Run cargo test --features unstable
47
- uses : actions-rs/cargo@v1
48
- with :
49
- command : test
50
- args : --features unstable
37
+ - run : cargo test --features unstable
51
38
52
39
very_unstable :
53
40
name : Test Suite (very_unstable)
54
41
runs-on : ubuntu-latest
55
42
steps :
56
43
- uses : actions/checkout@v4
57
44
- uses : dtolnay/rust-toolchain@nightly
58
-
59
- - name : Run cargo test --features very_unstable
60
- uses : actions-rs/cargo@v1
61
- with :
62
- command : test
63
- args : --features very_unstable
64
-
45
+ - run : cargo test --features very_unstable
65
46
66
47
lints :
67
48
name : Lints
71
52
- uses : dtolnay/rust-toolchain@stable
72
53
with :
73
54
components : clippy, rustfmt
74
-
75
- - name : Run cargo fmt
76
- uses : actions-rs/cargo@v1
77
- with :
78
- command : fmt
79
- args : --all -- --check
80
-
81
- - name : Run cargo clippy
82
- uses : actions-rs/cargo@v1
83
- with :
84
- command : clippy
55
+ - run : cargo fmt --all --check
56
+ - run : cargo clippy
0 commit comments