File tree Expand file tree Collapse file tree 1 file changed +13
-29
lines changed Expand file tree Collapse file tree 1 file changed +13
-29
lines changed Original file line number Diff line number Diff line change @@ -30,42 +30,34 @@ jobs:
3030
3131 steps :
3232 - name : Checkout
33- uses : actions/checkout@v2
33+ uses : actions/checkout@v3
3434
3535 - name : Install Rust (${{ matrix.rust }})
36- uses : actions-rs/ toolchain@v1
36+ uses : dtolnay/rust- toolchain@master
3737 with :
38- profile : minimal
3938 toolchain : ${{ matrix.rust }}
40- override : true
4139
4240 - name : Test
43- uses : actions-rs/cargo@v1
44- with :
45- command : test
41+ run : cargo test
4642
4743 - name : Test all benches
4844 if : matrix.benches
49- uses : actions-rs/cargo@v1
50- with :
51- command : test
52- args : --benches ${{ matrix.features }}
45+ run : cargo test --benches ${{ matrix.features }}
5346
5447 msrv :
5548 name : Test MSRV
5649 runs-on : ubuntu-latest
5750 steps :
5851 - name : Checkout
59- uses : actions/checkout@v2
52+ uses : actions/checkout@v3
53+
6054 - name : Install Rust
61- uses : actions-rs/ toolchain@v1
55+ uses : dtolnay/rust- toolchain@master
6256 with :
63- profile : minimal
6457 toolchain : " 1.49"
65- override : true
66- - name : test
58+
59+ - name : Test
6760 run : cargo test -p http
68-
6961
7062 wasm :
7163 name : WASM
@@ -75,20 +67,12 @@ jobs:
7567
7668 steps :
7769 - name : Checkout
78- uses : actions/checkout@v2
70+ uses : actions/checkout@v3
7971
8072 - name : Install Rust
81- uses : actions-rs/ toolchain@v1
73+ uses : dtolnay/rust- toolchain@stable
8274 with :
83- profile : minimal
84- toolchain : stable
85- target : wasm32-unknown-unknown
86- override : true
75+ targets : wasm32-unknown-unknown
8776
8877 - name : Check
89- uses : actions-rs/cargo@v1
90- with :
91- command : check
92- args : --target wasm32-unknown-unknown
93-
94-
78+ run : cargo check --target wasm32-unknown-unknown
You can’t perform that action at this time.
0 commit comments