40
40
41
41
- name : Build
42
42
if : steps.xtask-cache.outputs.cache-hit != 'true'
43
- uses : actions-rs/cargo@v1
44
- with :
45
- command : build
46
- args : -p xtask
43
+ run : |
44
+ cargo build -p xtask
47
45
48
46
test-matrix-sdk-features :
49
47
name : 🐧 [m], ${{ matrix.name }}
84
82
key : xtask-${{ hashFiles('xtask/**') }}
85
83
86
84
- name : Test
87
- uses : actions-rs/cargo@v1
88
- with :
89
- command : run
90
- args : -p xtask -- ci test-features ${{ matrix.name }}
85
+ run : |
86
+ cargo run -p xtask -- ci test-features ${{ matrix.name }}
91
87
92
88
test-matrix-sdk-examples :
93
89
name : 🐧 [m]-examples
@@ -115,10 +111,8 @@ jobs:
115
111
key : xtask-${{ hashFiles('xtask/**') }}
116
112
117
113
- name : Test
118
- uses : actions-rs/cargo@v1
119
- with :
120
- command : run
121
- args : -p xtask -- ci examples
114
+ run : |
115
+ cargo run -p xtask -- ci examples
122
116
123
117
test-matrix-sdk-crypto :
124
118
name : 🐧 [m]-crypto
@@ -146,10 +140,8 @@ jobs:
146
140
key : xtask-${{ hashFiles('xtask/**') }}
147
141
148
142
- name : Test
149
- uses : actions-rs/cargo@v1
150
- with :
151
- command : run
152
- args : -p xtask -- ci test-crypto
143
+ run : |
144
+ cargo run -p xtask -- ci test-crypto
153
145
154
146
test-all-crates :
155
147
name : ${{ matrix.name }}
@@ -191,16 +183,13 @@ jobs:
191
183
uses : taiki-e/install-action@nextest
192
184
193
185
- name : Test
194
- uses : actions-rs/cargo@v1
195
- with :
196
- command : nextest
197
- args : run --workspace --exclude matrix-sdk-integration-testing --exclude sliding-sync-integration-test
186
+ run : |
187
+ cargo nextest run --workspace \
188
+ --exclude matrix-sdk-integration-testing --exclude sliding-sync-integration-test
198
189
199
190
- name : Test documentation
200
- uses : actions-rs/cargo@v1
201
- with :
202
- command : test
203
- args : --doc
191
+ run : |
192
+ cargo test --doc
204
193
205
194
test-wasm :
206
195
name : 🕸️ ${{ matrix.name }}
@@ -268,16 +257,12 @@ jobs:
268
257
key : xtask-${{ hashFiles('xtask/**') }}
269
258
270
259
- name : Rust Check
271
- uses : actions-rs/cargo@v1
272
- with :
273
- command : run
274
- args : -p xtask -- ci wasm ${{ matrix.cmd }}
260
+ run : |
261
+ cargo run -p xtask -- ci wasm ${{ matrix.cmd }}
275
262
276
263
- name : Wasm-Pack test
277
- uses : actions-rs/cargo@v1
278
- with :
279
- command : run
280
- args : -p xtask -- ci wasm-pack ${{ matrix.cmd }}
264
+ run : |
265
+ cargo run -p xtask -- ci wasm-pack ${{ matrix.cmd }}
281
266
282
267
test-appservice :
283
268
name : ${{ matrix.os-name }} [m]-appservice
@@ -315,10 +300,8 @@ jobs:
315
300
key : xtask-${{ hashFiles('xtask/**') }}
316
301
317
302
- name : Run checks
318
- uses : actions-rs/cargo@v1
319
- with :
320
- command : run
321
- args : -p xtask -- ci test-appservice
303
+ run : |
304
+ cargo run -p xtask -- ci test-appservice
322
305
323
306
formatting :
324
307
name : Check Formatting
@@ -335,10 +318,8 @@ jobs:
335
318
components : rustfmt
336
319
337
320
- name : Cargo fmt
338
- uses : actions-rs/cargo@v1
339
- with :
340
- command : fmt
341
- args : -- --check
321
+ run : |
322
+ cargo fmt -- --check
342
323
343
324
typos :
344
325
name : Spell Check with Typos
@@ -382,10 +363,8 @@ jobs:
382
363
key : xtask-${{ hashFiles('xtask/**') }}
383
364
384
365
- name : Clippy
385
- uses : actions-rs/cargo@v1
386
- with :
387
- command : run
388
- args : -p xtask -- ci clippy
366
+ run : |
367
+ cargo run -p xtask -- ci clippy
389
368
390
369
integration-tests :
391
370
name : Integration test
@@ -417,10 +396,8 @@ jobs:
417
396
disableRateLimiting : true
418
397
419
398
- name : Test
420
- uses : actions-rs/cargo@v1
421
- with :
422
- command : nextest
423
- args : run -p matrix-sdk-integration-testing
399
+ run : |
400
+ cargo nextest run -p matrix-sdk-integration-testing
424
401
425
402
426
403
sliding-sync-integration-tests :
@@ -485,7 +462,5 @@ jobs:
485
462
options : ' -e "SYNCV3_SERVER=http://locahost:8228" -e "SYNCV3_SECRET=SUPER_CI_SECRET" -e "SYNCV3_BINDADDR=:8118" -e "SYNCV3_DB=user=postgres password=postgres dbname=syncv3 sslmode=disable host=postgres" -p 8118:8118'
486
463
487
464
- name : Test
488
- uses : actions-rs/cargo@v1
489
- with :
490
- command : nextest
491
- args : run -p sliding-sync-integration-tests
465
+ run : |
466
+ cargo nextest run -p sliding-sync-integration-tests
0 commit comments