Skip to content

Commit 0c8e255

Browse files
committed
Merge branch 'develop' of github.com:sdttttt/gcr into develop
2 parents 56db300 + 2c7cef1 commit 0c8e255

File tree

2 files changed

+32
-8
lines changed

2 files changed

+32
-8
lines changed

.github/workflows/coverage.yml

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,23 @@ on:
1616
jobs:
1717
build:
1818
runs-on: ubuntu-latest
19-
container:
20-
image: xd009642/tarpaulin
21-
options: --security-opt seccomp=unconfined
19+
2220
steps:
2321
- uses: actions/checkout@v2
2422

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'
2934

3035
- name: Upload to codecov.io
3136
uses: codecov/codecov-action@v1
3237
with:
33-
fail_ci_if_error: true
38+
fail_ci_if_error: true

src/plugins/README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,25 @@ plug = ["push"]
3535
```
3636

3737

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+
3857
# Contribution
3958

4059
plug-in access is a difficult task.

0 commit comments

Comments
 (0)