Commit 8cf2162 1 parent 941665b commit 8cf2162 Copy full SHA for 8cf2162
File tree 1 file changed +28
-7
lines changed
1 file changed +28
-7
lines changed Original file line number Diff line number Diff line change 8
8
pull_request :
9
9
10
10
jobs :
11
- build :
11
+ build-full :
12
12
runs-on : ubuntu-latest
13
13
strategy :
14
14
matrix :
15
15
rust : [stable, beta, nightly]
16
- tls : [rustls, native-tls]
17
- features :
18
- - hyper-h1,hyper-h2
19
16
continue-on-error : ${{ matrix.rust == 'nightly' }}
20
17
steps :
21
18
- uses : actions/checkout@v2
@@ -26,10 +23,34 @@ jobs:
26
23
profile : minimal
27
24
components : rustfmt, clippy
28
25
- name : Build
29
- run : cargo build --verbose --examples --features ${{ matrix.tls }},${{ matrix.features }}
26
+ run : cargo build --verbose --examples --all- features
30
27
- name : Test
31
- run : cargo test --verbose --features ${{ matrix.tls }},${{ matrix.features }}
28
+ run : cargo test --verbose --all- features
32
29
- name : Lint
33
- run : cargo clippy --examples --features ${{ matrix.tls }},${{ matrix.features }}
30
+ run : cargo clippy --examples --all- features
34
31
- name : Format check
35
32
run : cargo fmt -- --check
33
+ check-features :
34
+ runs-on : ubuntu-latest
35
+ strategy :
36
+ matrix :
37
+ features :
38
+ - " "
39
+ - tokio-net
40
+ - rustls
41
+ - native-tls
42
+ - rt
43
+ - hyper-h1
44
+ - hyper-h2
45
+ - rustls,native-tls
46
+ - tokio-net,rt,rustls
47
+ - tokio-net,native-tls
48
+ steps :
49
+ - uses : actions/checkout@v2
50
+ - uses : actions-rs/toolchain@v1
51
+ with :
52
+ toolchain : stable
53
+ override : true
54
+ profile : minimal
55
+ - name : Check
56
+ run : cargo check --verbose --no-default-features --features "${{ matrix.features }}"
You can’t perform that action at this time.
0 commit comments