File tree Expand file tree Collapse file tree 2 files changed +32
-8
lines changed Expand file tree Collapse file tree 2 files changed +32
-8
lines changed Original file line number Diff line number Diff line change 16
16
jobs :
17
17
build :
18
18
runs-on : ubuntu-latest
19
- container :
20
- image : xd009642/tarpaulin
21
- options : --security-opt seccomp=unconfined
19
+
22
20
steps :
23
21
- uses : actions/checkout@v2
24
22
25
- - name : Generate code coverage
26
- run : cargo tarpaulin --verbose --all-features --workspace --timeout 300 --out Xml
27
- env :
28
- RUST_BACKTRACE : 1
23
+ - name : Install stable toolchain
24
+ uses : actions-rs/toolchain@v1
25
+ with :
26
+ toolchain : stable
27
+ override : true
28
+
29
+ - name : Run cargo-tarpaulin
30
+ uses :
actions-rs/[email protected]
31
+ with :
32
+ version : ' 0.15.0'
33
+ args : ' -- --test-threads 1'
29
34
30
35
- name : Upload to codecov.io
31
36
uses : codecov/codecov-action@v1
32
37
with :
33
- fail_ci_if_error : true
38
+ fail_ci_if_error : true
Original file line number Diff line number Diff line change @@ -35,6 +35,25 @@ plug = ["push"]
35
35
```
36
36
37
37
38
+ The output after using the ` push ` plug-in will look like this:
39
+
40
+ ```
41
+ $ grc -a .
42
+ ✔ Which scope? (Optional) · module
43
+ ✔ Commit Message ? · update view of part module selector.
44
+ ✔ Provide a longer description? (Optional) ·
45
+ ✔ PR & Issues this commit closes, e.g 123: (Optional) ·
46
+ feat(module): 🎉 update part view module selector.
47
+ [-] running push ...
48
+ Remote: origin
49
+ Branch: sdttttt
50
+ [~] push is end.
51
+
52
+ $
53
+ ```
54
+
55
+ Well, it looks clean. I like the feeling. :)
56
+
38
57
# Contribution
39
58
40
59
plug-in access is a difficult task.
You can’t perform that action at this time.
0 commit comments