From 986f510ae0a3209ce868bb08585e0dd5daa2bb15 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Sat, 16 May 2026 11:20:03 +0200 Subject: [PATCH 1/2] GHA: explicitly `brew update` before `brew install` with Linuxbrew --- .github/workflows/test.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8d47d7b..0741131 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -55,6 +55,7 @@ jobs: - name: Install tools run: | + /home/linuxbrew/.linuxbrew/bin/brew update /home/linuxbrew/.linuxbrew/bin/brew install zizmor shellcheck checkbashisms shfmt typos-cli python3 -m venv ~/venv ~/venv/bin/pip --disable-pip-version-check --no-input --no-cache-dir install --progress-bar off --prefer-binary \ @@ -149,7 +150,9 @@ jobs: runs-on: macos-latest steps: - name: Install shunit2 - run: HOMEBREW_NO_AUTO_UPDATE=1 brew install shunit2 + run: | + brew update + brew install shunit2 - name: Checkout repository uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 From 80115686823b33885996ce3797bc350d367b8f34 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Sat, 16 May 2026 11:36:57 +0200 Subject: [PATCH 2/2] drop macOS, due to slowness --- .github/workflows/test.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0741131..e4cb009 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -150,9 +150,7 @@ jobs: runs-on: macos-latest steps: - name: Install shunit2 - run: | - brew update - brew install shunit2 + run: HOMEBREW_NO_AUTO_UPDATE=1 brew install shunit2 - name: Checkout repository uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2