File tree Expand file tree Collapse file tree 1 file changed +46
-0
lines changed Expand file tree Collapse file tree 1 file changed +46
-0
lines changed Original file line number Diff line number Diff line change 11
11
12
12
name : Lint, Test and Coverage Report
13
13
jobs :
14
+ unit-tests :
15
+ name : Unit tests
16
+ runs-on : ubuntu-latest
17
+ steps :
18
+ - uses : actions/checkout@v3
19
+ - uses : actions-rs/toolchain@v1
20
+ with :
21
+ profile : minimal
22
+ toolchain : stable
23
+ override : true
24
+ - uses : actions-rs/cargo@v1
25
+ with :
26
+ command : test
27
+
28
+ fmt :
29
+ name : Rust fmt check
30
+ runs-on : ubuntu-latest
31
+ steps :
32
+ - uses : actions/checkout@v3
33
+ - uses : actions-rs/toolchain@v1
34
+ with :
35
+ profile : minimal
36
+ toolchain : stable
37
+ override : true
38
+ - run : rustup component add rustfmt
39
+ - uses : actions-rs/cargo@v1
40
+ with :
41
+ command : fmt
42
+ args : --all -- --check
43
+
44
+ clippy :
45
+ name : Cargo Clippy check
46
+ runs-on : ubuntu-latest
47
+ steps :
48
+ - uses : actions/checkout@v3
49
+ - uses : actions-rs/toolchain@v1
50
+ with :
51
+ profile : minimal
52
+ toolchain : stable
53
+ override : true
54
+ - run : rustup component add clippy
55
+ - uses : actions-rs/cargo@v1
56
+ with :
57
+ command : clippy
58
+ args : -- -D warnings
59
+
14
60
coverage :
15
61
runs-on : ubuntu-latest
16
62
steps :
You can’t perform that action at this time.
0 commit comments