22
22
target :
23
23
- wasm32-unknown-unknown
24
24
steps :
25
- - uses : actions/checkout@v3
25
+ - uses : actions/checkout@v4
26
26
- uses : actions-rs/toolchain@v1
27
27
with :
28
28
profile : minimal
@@ -31,11 +31,11 @@ jobs:
31
31
override : true
32
32
- run : cargo build --target ${{ matrix.target }} --release --no-default-features
33
33
34
- codecov :
34
+ test-and-coverage :
35
35
runs-on : ubuntu-latest
36
36
steps :
37
- - uses : actions/checkout@v3
38
- - uses : actions-rs/ toolchain@v1
37
+ - uses : actions/checkout@v4
38
+ - uses : dtolnay/rust- toolchain@v1
39
39
with :
40
40
profile : minimal
41
41
toolchain : stable
@@ -46,36 +46,12 @@ jobs:
46
46
- name : Generate code coverage
47
47
run : cargo llvm-cov --features default-rng,multicore --workspace --lcov --output-path lcov.info
48
48
- name : Upload coverage to Codecov
49
- uses : codecov/codecov-action@v4
49
+ uses : codecov/codecov-action@v5
50
50
with :
51
51
token : ${{ secrets.CODECOV_TOKEN }}
52
52
files : lcov.info
53
53
fail_ci_if_error : true
54
54
55
- tests :
56
- runs-on : ubuntu-latest
57
- strategy :
58
- matrix :
59
- include :
60
- # 32-bit Linux
61
- - target : i686-unknown-linux-gnu
62
- rust : stable
63
- deps : sudo apt update && sudo apt install gcc-multilib
64
-
65
- # 64-bit Linux
66
- - target : x86_64-unknown-linux-gnu
67
- rust : stable
68
- steps :
69
- - uses : actions/checkout@v3
70
- - uses : actions-rs/toolchain@v1
71
- with :
72
- toolchain : ${{ matrix.rust }}
73
- target : ${{ matrix.target }}
74
- profile : minimal
75
- override : true
76
- - run : ${{ matrix.deps }}
77
- - run : cargo test --target ${{ matrix.target }}
78
-
79
55
slow-tests :
80
56
runs-on : ubuntu-latest
81
57
strategy :
91
67
rust : stable
92
68
deps : sudo apt update && sudo apt install gcc-multilib
93
69
steps :
94
- - uses : actions/checkout@v3
70
+ - uses : actions/checkout@v4
95
71
- uses : actions-rs/toolchain@v1
96
72
with :
97
73
toolchain : ${{ matrix.rust }}
@@ -104,10 +80,10 @@ jobs:
104
80
clippy :
105
81
runs-on : ubuntu-latest
106
82
steps :
107
- - uses : actions/checkout@v3
83
+ - uses : actions/checkout@v4
108
84
- uses : actions-rs/toolchain@v1
109
85
with :
110
- toolchain : stable
86
+ toolchain : 1.81.0 # MSRV
111
87
components : clippy
112
88
override : true
113
89
profile : minimal
116
92
rustfmt :
117
93
runs-on : ubuntu-latest
118
94
steps :
119
- - uses : actions/checkout@v3
95
+ - uses : actions/checkout@v4
120
96
- uses : actions-rs/toolchain@v1
121
97
with :
122
98
toolchain : stable
@@ -128,21 +104,10 @@ jobs:
128
104
command : fmt
129
105
args : --all -- --check
130
106
131
- # just building them to check that they're up to date with the API
132
- build-benchmarks :
133
- runs-on : ubuntu-latest
134
- steps :
135
- - uses : actions/checkout@v3
136
- - uses : actions-rs/toolchain@v1
137
- with :
138
- toolchain : 1.81.0
139
- profile : minimal
140
- - run : cargo build --all-features --benches
141
-
142
107
cargo-careful :
143
108
runs-on : ubuntu-latest
144
109
steps :
145
- - uses : actions/checkout@v3
110
+ - uses : actions/checkout@v4
146
111
- uses : actions-rs/toolchain@v1
147
112
with :
148
113
toolchain : nightly
0 commit comments