Skip to content

Commit d007eb4

Browse files
authored
ci: repair the clang-format check
Same failure mode as the gersemi check: Homebrew refuses to run formula install steps from an untrusted third party tap, so installing clang-format@19 aborts with 'unknown install step: run'. Refresh the Homebrew metadata and trust the obsproject/tools tap before installing. The pinned clang-format 19.1.1 required by build-aux/run-clang-format is unchanged. Signed-off-by: EdueskaWeiz <48769486+EdueskaWeiz@users.noreply.github.com>
1 parent 2dfb86e commit d007eb4

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ runs:
3636
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
3737
echo "/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin" >> $GITHUB_PATH
3838
echo "/home/linuxbrew/.linuxbrew/opt/clang-format@19/bin" >> $GITHUB_PATH
39+
brew update
3940
brew install --quiet zsh
4041
echo ::endgroup::
4142
@@ -51,6 +52,8 @@ runs:
5152
if (( ${+RUNNER_DEBUG} )) setopt XTRACE
5253
5354
print ::group::Install clang-format-19
55+
brew update
56+
brew trust obsproject/tools
5457
brew install --quiet obsproject/tools/clang-format@19
5558
print ::endgroup::
5659

0 commit comments

Comments
 (0)