Skip to content

Commit dcc0eb2

Browse files
committed
Remove superfluous go:check template task
There is an established practice of providing the developer with convenience "umbrella" tasks which collect multiple tasks of a given type of operation. This has a couple of benefits: - Provides an alternative to manually running multiple tasks - Provides a standardized interface to the project, independent from its unique underlying details However, I have come to the conclusion that these benefits lessen as the number of such convenience tasks increases. At the same time, the maintenance burden increases. In the end, my preference is to have only the "umbrella" convenience tasks at the highest possible level, which seems to be: - "build" (build the application) - "check" (check for problems with the project) - "fix" (automatically fix problems with the project) The decision about whether to add mid-level "umbrella" convenience tasks is up to the maintainer of each project, but I don't feel that it's appropriate to provide one as a "template". This task is not used by anything in this repository.
1 parent 763018c commit dcc0eb2

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

workflow-templates/assets/check-go-task/Taskfile.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,6 @@
22
version: "3"
33

44
tasks:
5-
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/check-go-task/Taskfile.yml
6-
go:check:
7-
desc: Check for problems with Go code
8-
deps:
9-
- task: go:vet
10-
- task: go:lint
11-
125
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/check-go-task/Taskfile.yml
136
go:fix:
147
desc: Modernize usages of outdated APIs

0 commit comments

Comments
 (0)