Commit 70aa377 1 parent d222244 commit 70aa377 Copy full SHA for 70aa377
File tree 1 file changed +49
-0
lines changed
1 file changed +49
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : CI
2
+ on :
3
+ push :
4
+ branches :
5
+ - master
6
+ pull_request :
7
+ branches :
8
+ - master
9
+
10
+ env :
11
+ CARGO_TERM_COLOR : always
12
+
13
+ jobs :
14
+ linter :
15
+ runs-on : ubuntu-latest
16
+ steps :
17
+ - uses : actions/checkout@v1
18
+ - uses : actions-rs/toolchain@v1
19
+ with :
20
+ toolchain : 1.82.0
21
+ components : rustfmt, clippy
22
+ override : true
23
+ - name : rustfmt
24
+ run : cargo fmt -- --check
25
+ - name : clippy
26
+ run : cargo clippy --all-features --all-targets -- -D warnings
27
+
28
+ tests :
29
+ needs : linter
30
+ strategy :
31
+ matrix :
32
+ toolchain :
33
+ - 1.75
34
+ - nightly
35
+ os :
36
+ - ubuntu-latest
37
+ runs-on : ${{ matrix.os }}
38
+ steps :
39
+ - uses : actions/checkout@v1
40
+ - uses : actions-rs/toolchain@v1
41
+ with :
42
+ toolchain : ${{ matrix.toolchain }}
43
+ override : true
44
+ profile : minimal
45
+ - name : dependencies
46
+ if : runner.os == 'Linux'
47
+ run : sudo apt-get update && sudo apt-get install -y libevent-dev
48
+ - name : tests
49
+ run : cargo test --verbose --color always -- --nocapture
You can’t perform that action at this time.
0 commit comments