File tree Expand file tree Collapse file tree 1 file changed +9
-20
lines changed Expand file tree Collapse file tree 1 file changed +9
-20
lines changed Original file line number Diff line number Diff line change @@ -33,42 +33,31 @@ jobs:
33
33
extras : [update]
34
34
- rust : nightly
35
35
os : ubuntu-20.04
36
- extras : [all]
37
36
- rust : nightly
38
37
os : ubuntu-20.04
39
- extras : [update, all ]
38
+ extras : [update]
40
39
41
40
steps :
42
41
- name : Checkout
43
42
uses : actions/checkout@v2
44
43
45
- - name : Install Rust (${{ matrix.rust }})
44
+ - name : Install rust (${{ matrix.rust }})
46
45
uses : actions-rs/toolchain@v1
47
46
with :
48
47
profile : minimal
49
48
toolchain : ${{ matrix.rust }}
50
49
override : true
51
50
52
- - name : Update Deps
51
+ - name : Update deps
53
52
if : ${{ contains(matrix.extras, 'update') }}
54
- uses : actions-rs/cargo@v1
55
- with :
56
- command : update
53
+ run : cargo update
57
54
58
55
- name : Test
59
- uses : actions-rs/cargo@v1
60
- with :
61
- command : test
56
+ run : cargo test
62
57
63
- - name : Test (features headers)
64
- uses : actions-rs/cargo@v1
65
- with :
66
- command : test
67
- args : --features headers
58
+ - name : Test headers feature
59
+ run : cargo test --features headers
68
60
69
61
- name : Test all features/targets
70
- if : ${{ contains(matrix.extras, 'all') }}
71
- uses : actions-rs/cargo@v1
72
- with :
73
- command : test
74
- args : --all-features --all-targets
62
+ if : ${{ matrix.rust == 'nightly' }}
63
+ run : cargo test --all-features --all-targets
You can’t perform that action at this time.
0 commit comments