4040
4141 - name : Build
4242 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
4745
4846 test-matrix-sdk-features :
4947 name : 🐧 [m], ${{ matrix.name }}
8482 key : xtask-${{ hashFiles('xtask/**') }}
8583
8684 - 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 }}
9187
9288 test-matrix-sdk-examples :
9389 name : 🐧 [m]-examples
@@ -115,10 +111,8 @@ jobs:
115111 key : xtask-${{ hashFiles('xtask/**') }}
116112
117113 - 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
122116
123117 test-matrix-sdk-crypto :
124118 name : 🐧 [m]-crypto
@@ -146,10 +140,8 @@ jobs:
146140 key : xtask-${{ hashFiles('xtask/**') }}
147141
148142 - 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
153145
154146 test-all-crates :
155147 name : ${{ matrix.name }}
@@ -191,16 +183,13 @@ jobs:
191183 uses : taiki-e/install-action@nextest
192184
193185 - 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
198189
199190 - name : Test documentation
200- uses : actions-rs/cargo@v1
201- with :
202- command : test
203- args : --doc
191+ run : |
192+ cargo test --doc
204193
205194 test-wasm :
206195 name : 🕸️ ${{ matrix.name }}
@@ -268,16 +257,12 @@ jobs:
268257 key : xtask-${{ hashFiles('xtask/**') }}
269258
270259 - 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 }}
275262
276263 - 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 }}
281266
282267 test-appservice :
283268 name : ${{ matrix.os-name }} [m]-appservice
@@ -315,10 +300,8 @@ jobs:
315300 key : xtask-${{ hashFiles('xtask/**') }}
316301
317302 - 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
322305
323306 formatting :
324307 name : Check Formatting
@@ -335,10 +318,8 @@ jobs:
335318 components : rustfmt
336319
337320 - name : Cargo fmt
338- uses : actions-rs/cargo@v1
339- with :
340- command : fmt
341- args : -- --check
321+ run : |
322+ cargo fmt -- --check
342323
343324 typos :
344325 name : Spell Check with Typos
@@ -382,10 +363,8 @@ jobs:
382363 key : xtask-${{ hashFiles('xtask/**') }}
383364
384365 - 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
389368
390369 integration-tests :
391370 name : Integration test
@@ -417,10 +396,8 @@ jobs:
417396 disableRateLimiting : true
418397
419398 - 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
424401
425402
426403 sliding-sync-integration-tests :
@@ -485,7 +462,5 @@ jobs:
485462 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'
486463
487464 - 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