From 651bd1e9bfa2ddf1c2cda0a5faec8d6c98a9d706 Mon Sep 17 00:00:00 2001 From: Ryan Foster Date: Tue, 4 Aug 2026 14:04:26 -0400 Subject: [PATCH] CI: Update brew unconditionally Should resolve some issues we've seen on CI lately. --- .github/actions/build-obs/action.yaml | 1 + .github/actions/compatibility-validator/action.yaml | 1 + .github/actions/package-obs/action.yaml | 1 + .github/actions/run-clang-format/action.yaml | 2 ++ .github/actions/run-gersemi/action.yaml | 2 ++ .github/actions/run-swift-format/action.yaml | 2 ++ .github/actions/sparkle-appcast/action.yaml | 1 + 7 files changed, 10 insertions(+) diff --git a/.github/actions/build-obs/action.yaml b/.github/actions/build-obs/action.yaml index 5f007e506..ddafb124b 100644 --- a/.github/actions/build-obs/action.yaml +++ b/.github/actions/build-obs/action.yaml @@ -61,6 +61,7 @@ runs: echo ::group::Install Dependencies eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" echo "/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin" >> $GITHUB_PATH + brew update brew install --quiet zsh echo ::endgroup:: diff --git a/.github/actions/compatibility-validator/action.yaml b/.github/actions/compatibility-validator/action.yaml index 5f12d9292..c6c460748 100644 --- a/.github/actions/compatibility-validator/action.yaml +++ b/.github/actions/compatibility-validator/action.yaml @@ -30,6 +30,7 @@ runs: eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" echo "/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin" >> $GITHUB_PATH fi + brew update brew install --quiet python3 python3 -m venv .venv diff --git a/.github/actions/package-obs/action.yaml b/.github/actions/package-obs/action.yaml index 7247e4697..583a9187e 100644 --- a/.github/actions/package-obs/action.yaml +++ b/.github/actions/package-obs/action.yaml @@ -70,6 +70,7 @@ runs: echo ::group::Install Dependencies eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" echo "/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin" >> $GITHUB_PATH + brew update brew install --quiet zsh echo ::endgroup:: diff --git a/.github/actions/run-clang-format/action.yaml b/.github/actions/run-clang-format/action.yaml index 5d818bca9..3883a1bd4 100644 --- a/.github/actions/run-clang-format/action.yaml +++ b/.github/actions/run-clang-format/action.yaml @@ -36,6 +36,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@22/bin" >> $GITHUB_PATH + brew update brew install --quiet zsh echo ::endgroup:: @@ -51,6 +52,7 @@ runs: if (( ${+RUNNER_DEBUG} )) setopt XTRACE print ::group::Install clang-format-22 + brew update brew trust obsproject/tools brew install --quiet obsproject/tools/clang-format@22 print ::endgroup:: diff --git a/.github/actions/run-gersemi/action.yaml b/.github/actions/run-gersemi/action.yaml index c9933e393..9a94d91a5 100644 --- a/.github/actions/run-gersemi/action.yaml +++ b/.github/actions/run-gersemi/action.yaml @@ -35,6 +35,7 @@ runs: echo ::group::Install Dependencies eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" echo "/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin" >> $GITHUB_PATH + brew update brew install --quiet zsh echo ::endgroup:: @@ -50,6 +51,7 @@ runs: if (( ${+RUNNER_DEBUG} )) setopt XTRACE print ::group::Install gersemi + brew update brew trust obsproject/tools brew install --quiet obsproject/tools/gersemi@0.25 print ::endgroup:: diff --git a/.github/actions/run-swift-format/action.yaml b/.github/actions/run-swift-format/action.yaml index def2c8c45..40bfe93fe 100644 --- a/.github/actions/run-swift-format/action.yaml +++ b/.github/actions/run-swift-format/action.yaml @@ -35,6 +35,7 @@ runs: echo ::group::Install Dependencies eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" echo "/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin" >> $GITHUB_PATH + brew update brew install --quiet zsh echo ::endgroup:: @@ -50,6 +51,7 @@ runs: if (( ${+RUNNER_DEBUG} )) setopt XTRACE print ::group::Install swift-format + brew update brew install --quiet swift-format print ::endgroup:: diff --git a/.github/actions/sparkle-appcast/action.yaml b/.github/actions/sparkle-appcast/action.yaml index c366113f0..ba7d3da60 100644 --- a/.github/actions/sparkle-appcast/action.yaml +++ b/.github/actions/sparkle-appcast/action.yaml @@ -42,6 +42,7 @@ runs: if (( ${+RUNNER_DEBUG} )) setopt XTRACE print ::group::Install Dependencies + brew update brew install --quiet coreutils pandoc print ::endgroup::