From c65cde4cf8b718625cce2200f8bbffd0283a54eb Mon Sep 17 00:00:00 2001 From: Massimiliano Culpo Date: Sat, 1 Aug 2020 07:45:39 +0200 Subject: Avoid update and upgrades to brew (#17815) Ci is currently failing on brew update with the error: ``` Error: Cannot install bazelisk because conflicting formulae are installed. bazel: because Bazelisk replaces the bazel binary Please `brew unlink bazel` before continuing. Unlinking removes a formula's symlinks from /usr/local. You can link the formula again after the install finishes. You can --force this install, but the build may fail or cause obscure side effects in the resulting software. ``` Avoiding: ``` $ brew update $ brew upgrade ``` solves the issue by preventing the risk of conflicting formulae --- .github/workflows/macos_unit_tests.yaml | 2 -- 1 file changed, 2 deletions(-) (limited to '.github') diff --git a/.github/workflows/macos_unit_tests.yaml b/.github/workflows/macos_unit_tests.yaml index f4b55bab86..1e60f76918 100644 --- a/.github/workflows/macos_unit_tests.yaml +++ b/.github/workflows/macos_unit_tests.yaml @@ -26,8 +26,6 @@ jobs: pip install --upgrade flake8 pep8-naming - name: Setup Homebrew packages run: | - brew update - brew upgrade brew install gcc gnupg2 dash kcov - name: Run unit tests run: | -- cgit v1.2.3-60-g2f50