File tree 1 file changed +6
-10
lines changed
1 file changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -24,18 +24,14 @@ jobs:
24
24
- uses : actions/checkout@master
25
25
- name : Install rustfmt
26
26
run : rustup component add rustfmt
27
+ - name : Install cargo-hack
28
+ run : cargo install cargo-hack
27
29
- name : Check fmt
28
30
run : cargo fmt -- --check
29
- - name : Check all
30
- run : cargo check --all
31
- - name : Check with no default features
32
- run : cargo check -p tonic --no-default-features
33
- - name : Check with transport no tls
34
- run : cargo check -p tonic
35
- - name : Check with transport w/ openssl
36
- run : cargo check -p tonic --features openssl
37
- - name : Check with transport w/ rustls
38
- run : cargo check -p tonic --features rustls
31
+ - name : Check features
32
+ run : cargo hack check --all --each-feature --no-dev-deps
33
+ - name : Check all targets
34
+ run : cargo check --all --all-targets --all-features
39
35
40
36
test :
41
37
runs-on : ${{ matrix.os }}
You can’t perform that action at this time.
0 commit comments