CI: Fix occasional formatting check failures

This commit is contained in:
WarmUpTill 2026-05-14 17:47:32 +02:00
parent bea4f66eb1
commit 20c276f4ea

View File

@ -29,6 +29,7 @@ runs:
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
echo "/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin" >> $GITHUB_PATH
echo "/home/linuxbrew/.linuxbrew/opt/clang-format@16/bin" >> $GITHUB_PATH
brew update
brew install --quiet zsh
echo ::endgroup::
@ -52,6 +53,7 @@ runs:
if (( ${changes[(I)(*.c|*.h|*.cpp|*.hpp|*.m|*.mm)]} )) {
echo ::group::Install clang-format-16
brew update
brew install --quiet obsproject/tools/clang-format@16
echo ::endgroup::