Skip to content

Commit 25be7a1

Browse files
committed
minor corrections
1 parent 39c95ad commit 25be7a1

File tree

5 files changed

+173
-164
lines changed

5 files changed

+173
-164
lines changed

.github/workflows/coverage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
- name: Run tests with coverage
5757
run: |
5858
set -euo pipefail
59-
go test ./... -covermode=atomic -coverprofile=coverage.out
59+
go test ./... -covermode=atomic -coverprofile=coverage.out -coverpkg=./...
6060
6161
# 4) Print a human-readable summary into the workflow logs
6262
# This uses Go’s built-in cover tool. :contentReference[oaicite:3]{index=3}

.goreleaser.yaml

Lines changed: 56 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,49 @@ builds:
8787
-X main.date={{ .Date }}
8888
-X main.builtBy=goreleaser
8989
90+
checksum:
91+
# You can change the name of the checksums file.
92+
# Default is `{{ .ProjectName }}_{{ .Version }}_checksums.txt`.
93+
#name_template: "{{ .ProjectName }}_checksums.txt"
94+
#name_template: 'checksums.txt'
95+
# Algorithm to be used.
96+
# Accepted options are sha256, sha512, sha1, crc32, md5, sha224 and sha384.
97+
# Default is sha256.
98+
#algorithm: sha256
99+
100+
snapshot:
101+
# Allows you to change the name of the generated snapshot
102+
#
103+
# Note that some pipes require this to be semantic version compliant (nfpm,
104+
# for example).
105+
#
106+
# Default is `{{ .Tag }}-SNAPSHOT-{{.ShortCommit}}`.
107+
#name_template: 1.2.3-SNAPSHOT-{{.Commit}}
108+
#name_template: "{{ .Tag }}-next"
109+
#name_template: "{{ incpatch .Version }}-next"
110+
111+
# You can customize how the changelog is generated using the changelog section in the config file
112+
changelog:
113+
# set it to true if you wish to skip the changelog generation
114+
#skip: false
115+
# could either be asc, desc or empty
116+
# Default is empty
117+
sort: asc
118+
filters:
119+
# commit messages matching the regexp listed here will be removed from
120+
# the changelog
121+
# Default is empty
122+
exclude:
123+
- '^typo$'
124+
- '^minor$'
125+
- '^update$'
126+
- '^wip$'
127+
128+
# The lines beneath this are called `modelines`. See `:help modeline`
129+
# Feel free to remove those if you don't want/use them.
130+
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
131+
# vim: set ts=2 sw=2 tw=0 fo=cnqoj
132+
90133
archives:
91134
-
92135
#rlcp: true
@@ -132,7 +175,6 @@ archives:
132175
# `README*` and `CHANGELOG*` (case-insensitive).
133176
# This list excludes the Go sources and git related files but includes the target source code.
134177
files:
135-
- "demo*.json"
136178
- "**/launch.json"
137179
- "**/settings.json"
138180
- "**/c_cpp_properties.json"
@@ -193,70 +235,38 @@ archives:
193235
- third_party/**/*.zip
194236
- third_party/*.zip
195237
- _config.yml
238+
- _test
196239
- .clang-format
197240
- .clang-format-ignore
198241
- .editorconfig
199242
# - .gitattributes
243+
# - .github
200244
# - .gitignore
201245
- .goreleaser.yaml
202-
- .travis.yml
246+
# - .idea
247+
- .markdownlinkcheck.json
248+
- .markdownlint.yaml
249+
- .markdownlintignore
250+
- .vscode
203251
- build_environment.sh
204252
- buildTriceTool.sh
205253
- clean-dsstore.sh
206254
# - build.sh
207255
- clang-format.sh
208-
# - clean-dsstore.sh
256+
- clean-dsstore.sh
257+
- demoLI.json
258+
- demoTIL.json
259+
- format-dumeng-toc.sh
209260
# - gitAddWorktreeFromGitLogLineData.sh
210261
# - gitAddWorktreesBetween.sh
211262
# - gitLogWithBranches.sh
212263
# - go.mod
213264
# - go.sum
265+
# - index.md
266+
# - lychee.toml
214267
- renewIDs_in_examples_and_refresh_test_folder.sh
215268
- testAll.log
216269
# - testAll.sh
217270
- trice_cleanIDs_in_examples_and_test_folder.sh
218271
- trice_environment.sh
219272
- trice_insertIDs_in_examples_and_test_folder.sh
220-
221-
checksum:
222-
# You can change the name of the checksums file.
223-
# Default is `{{ .ProjectName }}_{{ .Version }}_checksums.txt`.
224-
#name_template: "{{ .ProjectName }}_checksums.txt"
225-
#name_template: 'checksums.txt'
226-
# Algorithm to be used.
227-
# Accepted options are sha256, sha512, sha1, crc32, md5, sha224 and sha384.
228-
# Default is sha256.
229-
#algorithm: sha256
230-
231-
snapshot:
232-
# Allows you to change the name of the generated snapshot
233-
#
234-
# Note that some pipes require this to be semantic version compliant (nfpm,
235-
# for example).
236-
#
237-
# Default is `{{ .Tag }}-SNAPSHOT-{{.ShortCommit}}`.
238-
#name_template: 1.2.3-SNAPSHOT-{{.Commit}}
239-
#name_template: "{{ .Tag }}-next"
240-
#name_template: "{{ incpatch .Version }}-next"
241-
242-
# You can customize how the changelog is generated using the changelog section in the config file
243-
changelog:
244-
# set it to true if you wish to skip the changelog generation
245-
#skip: false
246-
# could either be asc, desc or empty
247-
# Default is empty
248-
sort: asc
249-
filters:
250-
# commit messages matching the regexp listed here will be removed from
251-
# the changelog
252-
# Default is empty
253-
exclude:
254-
- '^typo$'
255-
- '^minor$'
256-
- '^update$'
257-
- '^wip$'
258-
259-
# The lines beneath this are called `modelines`. See `:help modeline`
260-
# Feel free to remove those if you don't want/use them.
261-
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
262-
# vim: set ts=2 sw=2 tw=0 fo=cnqoj

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ Welcome are:
99

1010

1111

12-
**Working on your first Pull Request?** You can learn how from this *free* series [How to Contribute to an Open Source Project on GitHub](https://kcd.im/pull-request)
12+
**Working on your first Pull Request?** You can learn how from this *free* series [How to Contribute to an Open Source Project on GitHub](https://egghead.io/courses/how-to-contribute-to-an-open-source-project-on-github)

0 commit comments

Comments
 (0)