File tree Expand file tree Collapse file tree 1 file changed +64
-0
lines changed Expand file tree Collapse file tree 1 file changed +64
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : CI
2
+
3
+ on :
4
+ pull_request :
5
+ push :
6
+ branches :
7
+ - staging
8
+ - trying
9
+
10
+ env :
11
+ RUSTFLAGS : -Dwarnings
12
+
13
+ jobs :
14
+ build_and_test :
15
+ name : Build and test
16
+ runs-on : ${{ matrix.os }}
17
+ strategy :
18
+ matrix :
19
+ os : [ubuntu-latest, macOS-latest]
20
+ rust : [nightly]
21
+
22
+ steps :
23
+ - uses : actions/checkout@master
24
+
25
+ - name : Install ${{ matrix.rust }}
26
+ uses : actions-rs/toolchain@v1
27
+ with :
28
+ toolchain : ${{ matrix.rust }}
29
+ override : true
30
+
31
+ - name : check
32
+ uses : actions-rs/cargo@v1
33
+ with :
34
+ command : check
35
+ args : --all --bins --examples --features hyperium_http
36
+
37
+ - name : check unstable
38
+ uses : actions-rs/cargo@v1
39
+ with :
40
+ command : check
41
+ args : --all --benches --bins --examples --tests --features hyperium_http
42
+
43
+ - name : tests
44
+ uses : actions-rs/cargo@v1
45
+ with :
46
+ command : test
47
+ args : --all
48
+
49
+ check_fmt_and_docs :
50
+ name : Checking fmt and docs
51
+ runs-on : ubuntu-latest
52
+ steps :
53
+ - uses : actions/checkout@master
54
+ - uses : actions-rs/toolchain@v1
55
+ with :
56
+ toolchain : nightly
57
+ components : rustfmt, clippy
58
+ override : true
59
+
60
+ - name : fmt
61
+ run : cargo fmt --all -- --check
62
+
63
+ - name : Docs
64
+ run : cargo doc
You can’t perform that action at this time.
0 commit comments