Skip to content

Commit af93ca7

Browse files
committed
Add source URL comments to "Check Go" assets
This will make it easier for the maintainers to sync fixes and improvements in either direction between the upstream "template" assets and their installation in this repository.
1 parent b70f183 commit af93ca7

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/check-go-task.yml

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/check-go-task.md
12
name: Check Go
23

34
env:

Taskfile.yml

+3
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,14 @@ tasks:
6161
cmds:
6262
- poetry run pytest tests
6363

64+
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/check-go-task/Taskfile.yml
6465
go:vet:
6566
desc: Check for errors in Go code
6667
dir: '{{default "./" .GO_MODULE_PATH}}'
6768
cmds:
6869
- go vet {{default .DEFAULT_GO_PACKAGES .GO_PACKAGES}}
6970

71+
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/check-go-task/Taskfile.yml
7072
go:lint:
7173
desc: Lint Go code
7274
dir: '{{default "./" .GO_MODULE_PATH}}'
@@ -81,6 +83,7 @@ tasks:
8183
{{default "-min_confidence 0.8 -set_exit_status" .GO_LINT_FLAGS}} \
8284
{{default .DEFAULT_GO_PACKAGES .GO_PACKAGES}}
8385
86+
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/check-go-task/Taskfile.yml
8487
go:format:
8588
desc: Format Go code
8689
dir: '{{default "./" .GO_MODULE_PATH}}'

0 commit comments

Comments
 (0)