File tree Expand file tree Collapse file tree 6 files changed +16
-4
lines changed
workflow-templates/assets
deploy-cobra-mkdocs-versioned-poetry Expand file tree Collapse file tree 6 files changed +16
-4
lines changed Original file line number Diff line number Diff line change @@ -143,6 +143,7 @@ tasks:
143
143
144
144
# Check if ClangFormat is installed and the expected version
145
145
clang-format:check-installed :
146
+ run : when_changed
146
147
vars :
147
148
EXPECTED_CLANG_FORMAT_VERSION : " {{default .DEFAULT_CLANG_FORMAT_VERSION .CLANG_FORMAT_VERSION}}"
148
149
cmds :
@@ -731,6 +732,7 @@ tasks:
731
732
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/npm-task/Taskfile.yml
732
733
npm:install-deps :
733
734
desc : Install dependencies managed by npm
735
+ run : when_changed
734
736
dir : |
735
737
"{{default "./" .PROJECT_PATH}}"
736
738
cmds :
@@ -834,7 +836,7 @@ tasks:
834
836
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/poetry-task/Taskfile.yml
835
837
poetry:install :
836
838
desc : Install Poetry
837
- run : once
839
+ run : when_changed
838
840
cmds :
839
841
- |
840
842
if ! which yq &>/dev/null; then
@@ -883,11 +885,17 @@ tasks:
883
885
884
886
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/poetry-task/Taskfile.yml
885
887
poetry:install-deps :
886
- desc : Install dependencies managed by Poetry
888
+ desc : |
889
+ Install dependencies managed by Poetry.
890
+ Environment variable parameters:
891
+ - POETRY_GROUPS: Poetry dependency groups to install (default: install all dependencies).
892
+ run : when_changed
887
893
deps :
888
894
- task : poetry:install
889
895
cmds :
890
- - poetry install --no-root
896
+ - |
897
+ poetry install \
898
+ {{if .POETRY_GROUPS}} --only {{.POETRY_GROUPS}} {{end}}
891
899
892
900
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/poetry-task/Taskfile.yml
893
901
poetry:update-deps :
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ version: "3"
4
4
tasks :
5
5
docs:generate :
6
6
desc : Create all generated documentation content
7
+ run : when_changed
7
8
# This is an "umbrella" task used to call any documentation generation processes the project has.
8
9
# It can be left empty if there are none.
9
10
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ version: "3"
4
4
tasks :
5
5
docs:generate :
6
6
desc : Create all generated documentation content
7
+ run : when_changed
7
8
# This is an "umbrella" task used to call any documentation generation processes the project has.
8
9
# It can be left empty if there are none.
9
10
Original file line number Diff line number Diff line change 7
7
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/deploy-cobra-mkdocs-versioned-poetry/Taskfile.yml
8
8
docs:generate :
9
9
desc : Create all generated documentation content
10
+ run : when_changed
10
11
deps :
11
12
- task : go:cli-docs
12
13
cmds :
Original file line number Diff line number Diff line change 7
7
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/npm-task/Taskfile.yml
8
8
npm:install-deps :
9
9
desc : Install dependencies managed by npm
10
+ run : when_changed
10
11
dir : |
11
12
"{{default "./" .PROJECT_PATH}}"
12
13
cmds :
Original file line number Diff line number Diff line change 5
5
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/poetry-task/Taskfile.yml
6
6
poetry:install :
7
7
desc : Install Poetry
8
- run : once
8
+ run : when_changed
9
9
cmds :
10
10
- |
11
11
if ! which yq &>/dev/null; then
You can’t perform that action at this time.
0 commit comments