Skip to content

Commit

Permalink
Run clang-format on script changes
Browse files Browse the repository at this point in the history
As very little clang-format related code is committed to master
it's hard to tell when clang-format is broken, as such testing when
changes to it's scripts are detected should help find breaking changes.
  • Loading branch information
EZ64cool committed Jan 10, 2024
1 parent 42c8b4f commit 921d723
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/run-clang-format/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ runs:
*) ;;
}
if (( ${changes[(I)(*.c|*.h|*.cpp|*.hpp|*.m|*.mm)]} )) {
if (( ${changes[(I)(*.c|*.h|*.cpp|*.hpp|*.m|*.mm|*.clang-format|*.run-format.zsh)]} )) {
echo ::group::Install clang-format-16
brew install --quiet obsproject/tools/clang-format@16
echo ::endgroup::
Expand Down

0 comments on commit 921d723

Please sign in to comment.