diff --git a/src/tools.ts b/src/tools.ts index 7f1da944..8fd798fc 100644 --- a/src/tools.ts +++ b/src/tools.ts @@ -70,14 +70,14 @@ export default function createTools(config: Config): Array { { executionType : ToolExecutionType.STATIC, name : 'Documentation Linting', - command : 'markdownlint doc/book/**/*.md', + command : "markdownlint 'doc/book/**/*.md'", filesToCheck : [ 'doc/book/' ], toolType : ToolType.LINTER, }, { executionType : ToolExecutionType.STATIC, name : 'Documentation Linting', - command : 'markdownlint docs/book/**/*.md', + command : "markdownlint 'docs/book/**/*.md'", filesToCheck : [ 'docs/book/' ], toolType : ToolType.LINTER, }, diff --git a/tests/doc-linting-doc-book/matrix.json b/tests/doc-linting-doc-book/matrix.json index e96c79f7..76134841 100644 --- a/tests/doc-linting-doc-book/matrix.json +++ b/tests/doc-linting-doc-book/matrix.json @@ -2,7 +2,7 @@ "include": [ { "name": "Documentation Linting [7.4, latest]", - "job": "{\"command\":\"markdownlint doc/book/**/*.md\",\"php\":\"7.4\",\"extensions\":[],\"ini\":[],\"dependencies\":\"latest\",\"ignore_platform_reqs_8\":false,\"ignore_php_platform_requirement\":false,\"additional_composer_arguments\":[],\"before_script\":[]}", + "job": "{\"command\":\"markdownlint 'doc/book/**/*.md'\",\"php\":\"7.4\",\"extensions\":[],\"ini\":[],\"dependencies\":\"latest\",\"ignore_platform_reqs_8\":false,\"ignore_php_platform_requirement\":false,\"additional_composer_arguments\":[],\"before_script\":[]}", "operatingSystem": "ubuntu-latest", "action": "laminas/laminas-continuous-integration-action@v1" } diff --git a/tests/doc-linting-docs-book/matrix.json b/tests/doc-linting-docs-book/matrix.json index 9978188c..24e68c81 100644 --- a/tests/doc-linting-docs-book/matrix.json +++ b/tests/doc-linting-docs-book/matrix.json @@ -2,7 +2,7 @@ "include": [ { "name": "Documentation Linting [7.4, latest]", - "job": "{\"command\":\"markdownlint docs/book/**/*.md\",\"php\":\"7.4\",\"extensions\":[],\"ini\":[],\"dependencies\":\"latest\",\"ignore_platform_reqs_8\":false,\"ignore_php_platform_requirement\":false,\"additional_composer_arguments\":[],\"before_script\":[]}", + "job": "{\"command\":\"markdownlint 'docs/book/**/*.md'\",\"php\":\"7.4\",\"extensions\":[],\"ini\":[],\"dependencies\":\"latest\",\"ignore_platform_reqs_8\":false,\"ignore_php_platform_requirement\":false,\"additional_composer_arguments\":[],\"before_script\":[]}", "operatingSystem": "ubuntu-latest", "action": "laminas/laminas-continuous-integration-action@v1" } diff --git a/tests/doc-linting-without-code-checks-due-diff/matrix.json b/tests/doc-linting-without-code-checks-due-diff/matrix.json index edd23089..623e195a 100644 --- a/tests/doc-linting-without-code-checks-due-diff/matrix.json +++ b/tests/doc-linting-without-code-checks-due-diff/matrix.json @@ -2,7 +2,7 @@ "include": [ { "name": "Documentation Linting [8.1, locked]", - "job": "{\"command\":\"markdownlint docs/book/**/*.md\",\"php\":\"8.1\",\"extensions\":[],\"ini\":[],\"dependencies\":\"locked\",\"ignore_platform_reqs_8\":false,\"ignore_php_platform_requirement\":false,\"additional_composer_arguments\":[],\"before_script\":[]}", + "job": "{\"command\":\"markdownlint 'docs/book/**/*.md'\",\"php\":\"8.1\",\"extensions\":[],\"ini\":[],\"dependencies\":\"locked\",\"ignore_platform_reqs_8\":false,\"ignore_php_platform_requirement\":false,\"additional_composer_arguments\":[],\"before_script\":[]}", "operatingSystem": "ubuntu-latest", "action": "laminas/laminas-continuous-integration-action@v1" }