Skip to content

Commit 233bbb9

Browse files
committed
Remove padding from workflow:validate task's templates
This brings the task into compliance with the taskfile style guide: https://taskfile.dev/#/styleguide?id=dont-wrap-vars-in-spaces-when-templating
1 parent 0362e09 commit 233bbb9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Taskfile.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -337,8 +337,8 @@ tasks:
337337
WORKFLOW_SCHEMA_PATH:
338338
sh: mktemp -t workflow-schema-XXXXXXXXXX.json
339339
cmds:
340-
- wget --output-document={{ .WORKFLOW_SCHEMA_PATH }} https://json.schemastore.org/github-workflow
341-
- npx ajv-cli validate --strict=false -s {{ .WORKFLOW_SCHEMA_PATH }} -d "./.github/workflows/*.{yml,yaml}"
340+
- wget --output-document={{.WORKFLOW_SCHEMA_PATH}} https://json.schemastore.org/github-workflow
341+
- npx ajv-cli validate --strict=false -s {{.WORKFLOW_SCHEMA_PATH}} -d "./.github/workflows/*.{yml,yaml}"
342342

343343
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/check-general-formatting-task/Taskfile.yml
344344
general:check-formatting:

0 commit comments

Comments
 (0)