From b365c511a79c55fe3d8b7ff7db8c6639ed8e43b3 Mon Sep 17 00:00:00 2001 From: Quinn Pfeifer <72775766+QuinnP2910@users.noreply.github.com> Date: Sat, 9 Dec 2023 15:00:55 -0800 Subject: [PATCH] Make GitHub format workflow use the .clang-format file --- .github/workflows/format-checker.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/format-checker.yml b/.github/workflows/format-checker.yml index 6aeae5f0d..ec057bd5d 100644 --- a/.github/workflows/format-checker.yml +++ b/.github/workflows/format-checker.yml @@ -19,7 +19,7 @@ jobs: run: | cd ${{ github.workspace }} git reset --soft $(git merge-base HEAD origin/master) - diff=$(git clang-format-11 --diff) + diff=$(git clang-format-11 -style=file --diff) if [ $(echo "${diff}" | wc -l) != 1 ]; then echo "Formatting errors detected! Suggested changes:" >&2 echo "${diff}" >&2