Skip to content

Commit

Permalink
Make GitHub format workflow use the .clang-format file
Browse files Browse the repository at this point in the history
  • Loading branch information
quinnmp committed Dec 9, 2023
1 parent f21ed5a commit b365c51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/format-checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b365c51

Please sign in to comment.