File tree Expand file tree Collapse file tree 1 file changed +9
-13
lines changed Expand file tree Collapse file tree 1 file changed +9
-13
lines changed Original file line number Diff line number Diff line change 4
4
pull_request :
5
5
push :
6
6
branches :
7
+ - main
7
8
- staging
8
9
- trying
9
10
@@ -32,39 +33,34 @@ jobs:
32
33
uses : actions-rs/cargo@v1
33
34
with :
34
35
command : check
35
- args : --all --bins --examples --features hyperium_http
36
+ args : --workspace --benches -- bins --examples --tests --features hyperium_http
36
37
37
38
- name : check unstable
38
39
uses : actions-rs/cargo@v1
39
40
with :
40
- command : check
41
- args : --all --benches --bins --examples --tests --features "hyperium_http,unstable"
41
+ command : check
42
+ args : --workspace --benches --bins --examples --tests --features "hyperium_http,unstable"
42
43
43
44
- name : tests
44
45
uses : actions-rs/cargo@v1
45
46
with :
46
47
command : test
47
- args : --all --features "hyperium_http,unstable"
48
+ args : --workspace --features "hyperium_http,unstable"
48
49
49
- check_fmt_and_docs :
50
+ check_fmt_clippy_docs :
50
51
name : Checking fmt, clippy, and docs
51
52
runs-on : ubuntu-latest
52
53
steps :
53
54
- uses : actions/checkout@master
54
- - uses : actions-rs/toolchain@v1
55
- with :
56
- toolchain : nightly
57
- components : rustfmt, clippy
58
- override : true
59
55
60
56
- name : clippy
61
- run : cargo clippy --tests --examples -- -D warnings
57
+ run : cargo clippy --workspace --benches --bins -- examples --tests --features "hyperium_http,unstable" -- -D warnings
62
58
63
59
- name : fmt
64
60
run : cargo fmt --all -- --check
65
61
66
- - name : Docs
67
- run : cargo doc
62
+ - name : docs
63
+ run : cargo doc --no-deps
68
64
69
65
# check_wasm:
70
66
# name: Check wasm targets
You can’t perform that action at this time.
0 commit comments