diff --git a/.azurepipelines/BuildAndTest.yml b/.azurepipelines/BuildAndTest.yml index ef0380a..b1c9cda 100644 --- a/.azurepipelines/BuildAndTest.yml +++ b/.azurepipelines/BuildAndTest.yml @@ -50,5 +50,14 @@ jobs: fetchDepth: 1 clean: true + # Only run on Windows since it does not use a container and can + # depend on a wider toolset provided in the VM image. + - ${{ if eq(item.Value.ImageName, 'windows-latest') }}: + - template: Steps/InstallMarkdownLint.yml@mu_devops + - template: Steps/RunMarkdownLint.yml@mu_devops + - template: Steps/InstallSpellCheck.yml@mu_devops + - template: Steps/RunSpellCheck.yml@mu_devops + parameters: + spell_check_parameters: "-c cspell.json **/*.md **/*.py **/*.rs" - template: Steps/RustSetupSteps.yml@mu_devops - template: Steps/RustCargoSteps.yml@mu_devops diff --git a/cspell.json b/cspell.json new file mode 100644 index 0000000..e8d5347 --- /dev/null +++ b/cspell.json @@ -0,0 +1,26 @@ +{ + "version": "0.2", + "language": "en", + "dictionaries": [ + "companies ", + "softwareTerms", + "python", + "rust" + ], + "ignorePaths": [ + "*.pdb", + "**/*_extdep/**", + "*.pdf", + "*.exe", + "*.jpg" + ], + "minWordLength": 5, + "allowCompoundWords": true, + "maxNumberOfProblems": 200, + "maxDuplicateProblems": 200, + "ignoreWords": [ + ], + "words": [ + "upvote" + ] +}