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:
30
30
31
31
steps :
32
32
- name : Checkout
33
- uses : actions/checkout@v2
33
+ uses : actions/checkout@v3
34
34
35
35
- name : Install Rust (${{ matrix.rust }})
36
- uses : actions-rs/ toolchain@v1
36
+ uses : dtolnay/rust- toolchain@master
37
37
with :
38
- profile : minimal
39
38
toolchain : ${{ matrix.rust }}
40
- override : true
41
39
42
40
- name : Test
43
- uses : actions-rs/cargo@v1
44
- with :
45
- command : test
41
+ run : cargo test
46
42
47
43
- name : Test all benches
48
44
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 }}
53
46
54
47
msrv :
55
48
name : Test MSRV
56
49
runs-on : ubuntu-latest
57
50
steps :
58
51
- name : Checkout
59
- uses : actions/checkout@v2
52
+ uses : actions/checkout@v3
53
+
60
54
- name : Install Rust
61
- uses : actions-rs/ toolchain@v1
55
+ uses : dtolnay/rust- toolchain@master
62
56
with :
63
- profile : minimal
64
57
toolchain : " 1.49"
65
- override : true
66
- - name : test
58
+
59
+ - name : Test
67
60
run : cargo test -p http
68
-
69
61
70
62
wasm :
71
63
name : WASM
@@ -75,20 +67,12 @@ jobs:
75
67
76
68
steps :
77
69
- name : Checkout
78
- uses : actions/checkout@v2
70
+ uses : actions/checkout@v3
79
71
80
72
- name : Install Rust
81
- uses : actions-rs/ toolchain@v1
73
+ uses : dtolnay/rust- toolchain@stable
82
74
with :
83
- profile : minimal
84
- toolchain : stable
85
- target : wasm32-unknown-unknown
86
- override : true
75
+ targets : wasm32-unknown-unknown
87
76
88
77
- 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