diff --git a/eng/pipelines/templates/jobs/archetype-sdk-client.yml b/eng/pipelines/templates/jobs/archetype-sdk-client.yml index 823e05f1e0..80985d6260 100644 --- a/eng/pipelines/templates/jobs/archetype-sdk-client.yml +++ b/eng/pipelines/templates/jobs/archetype-sdk-client.yml @@ -365,6 +365,7 @@ jobs: # Validate all the files are formatted correctly according to the .clang-format file. - bash: | # Run clang-format recursively on each source and header file within the repo. + clang-format --version find . \( -iname '*.h' -o -iname '*.c' \) -exec clang-format -i {} \; git status --untracked-files=no --porcelain