Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 60bf077

Browse files
committed
Remove superfluous run keys from tasks
The "Task" task runner tool is used to perform common development operations for the project. Tasks may call other tasks. Under certain conditions, this can result in the same task being called redundantly. This can be avoided by using the `run` key to configure so that all but the first call will be ignored. Previously such a configuration was used in some tasks which will never be called redundantly. That configuration only makes the tasks more difficult to understand and maintain, without any benefit. For this reason, the `run` keys are removed from these tasks.
1 parent 5422f9f commit 60bf077

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

‎Taskfile.yml‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,6 @@ tasks:
105105
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/check-dependencies-task/Taskfile.yml
106106
general:cache-dep-licenses:
107107
desc: Cache dependency license metadata
108-
run: when_changed
109108
deps:
110109
- task: general:prepare-deps
111110
cmds:
@@ -187,7 +186,6 @@ tasks:
187186
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/check-go-dependencies-task/Taskfile.yml
188187
general:prepare-deps:
189188
desc: Prepare project dependencies for license check
190-
run: when_changed
191189
# No preparation is needed for Go module-based projects.
192190

193191
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/go-task/Taskfile.yml

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /