Skip to content

Commit 2dfb86e

Browse files
authored
ci: repair the gersemi format check
Homebrew no longer runs formula install steps from untrusted third party taps, so the gersemi check fails while installing the formatter: Skipping obsproject/tools because it is not trusted. Error: unknown install step: run Refresh the Homebrew metadata and trust the obsproject/tools tap explicitly before installing, mirroring the fix applied upstream in obs-studio. Signed-off-by: EdueskaWeiz <48769486+EdueskaWeiz@users.noreply.github.com>
1 parent 858d220 commit 2dfb86e

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/actions/run-gersemi/action.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ runs:
3535
echo ::group::Install Dependencies
3636
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
3737
echo "/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin" >> $GITHUB_PATH
38+
brew update
3839
brew install --quiet zsh
3940
echo ::endgroup::
4041
@@ -50,6 +51,8 @@ runs:
5051
if (( ${+RUNNER_DEBUG} )) setopt XTRACE
5152
5253
print ::group::Install gersemi
54+
brew update
55+
brew trust obsproject/tools
5356
brew install --quiet obsproject/tools/gersemi
5457
print ::endgroup::
5558

0 commit comments

Comments
 (0)