File tree Expand file tree Collapse file tree 1 file changed +67
-0
lines changed Expand file tree Collapse file tree 1 file changed +67
-0
lines changed Original file line number Diff line number Diff line change 1+ on : [push, pull_request]
2+
3+ name : Continuous integration
4+
5+ env :
6+ RUST_BACKTRACE : 1
7+
8+ jobs :
9+ check :
10+ name : Check
11+ runs-on : ubuntu-latest
12+ steps :
13+ - uses : actions/checkout@v2
14+ - uses : actions-rs/toolchain@v1
15+ with :
16+ profile : minimal
17+ toolchain : stable
18+ override : true
19+ - uses : actions-rs/cargo@v1
20+ with :
21+ command : check
22+
23+ test :
24+ name : Test Suite
25+ runs-on : ubuntu-latest
26+ steps :
27+ - uses : actions/checkout@v2
28+ - uses : actions-rs/toolchain@v1
29+ with :
30+ profile : minimal
31+ toolchain : stable
32+ override : true
33+ - uses : actions-rs/cargo@v1
34+ with :
35+ command : test
36+
37+ fmt :
38+ name : Rustfmt
39+ runs-on : ubuntu-latest
40+ steps :
41+ - uses : actions/checkout@v2
42+ - uses : actions-rs/toolchain@v1
43+ with :
44+ profile : minimal
45+ toolchain : stable
46+ override : true
47+ - run : rustup component add rustfmt
48+ - uses : actions-rs/cargo@v1
49+ with :
50+ command : fmt
51+ args : --all -- --check
52+
53+ clippy :
54+ name : Clippy
55+ runs-on : ubuntu-latest
56+ steps :
57+ - uses : actions/checkout@v2
58+ - uses : actions-rs/toolchain@v1
59+ with :
60+ profile : minimal
61+ toolchain : stable
62+ override : true
63+ - run : rustup component add clippy
64+ - uses : actions-rs/cargo@v1
65+ with :
66+ command : clippy
67+ args : -- -D warnings
You can’t perform that action at this time.
0 commit comments