Skip to content

Commit 4b7f490

Browse files
committed
CI: Fix occasional formatting check failures
1 parent 3a09613 commit 4b7f490

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/actions/run-clang-format/action.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ runs:
2929
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
3030
echo "/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin" >> $GITHUB_PATH
3131
echo "/home/linuxbrew/.linuxbrew/opt/clang-format@16/bin" >> $GITHUB_PATH
32+
brew update
3233
brew install --quiet zsh
3334
echo ::endgroup::
3435
@@ -52,6 +53,7 @@ runs:
5253
5354
if (( ${changes[(I)(*.c|*.h|*.cpp|*.hpp|*.m|*.mm)]} )) {
5455
echo ::group::Install clang-format-16
56+
brew update
5557
brew install --quiet obsproject/tools/clang-format@16
5658
echo ::endgroup::
5759

0 commit comments

Comments
 (0)