workflows/tests: untap mongodb on macOS.

This will enable `brew audit` to pass.
master
Mike McQuaid 2020-07-31 19:38:18 +01:00
parent 7141f37f3a
commit 055f977408
1 changed files with 4 additions and 1 deletions

View File

@ -53,7 +53,10 @@ jobs:
git checkout --force -B master FETCH_HEAD git checkout --force -B master FETCH_HEAD
cd - cd -
if [ "$RUNNER_OS" = "Linux" ]; then if [ "$RUNNER_OS" = "macOS" ]; then
# don't care about `brew audit` here.
brew untap mongodb/brew
else
sudo chown -R "$USER" "$HOMEBREW_PREFIX" sudo chown -R "$USER" "$HOMEBREW_PREFIX"
sudo chmod -R g-w,o-w "$HOMEBREW_CORE_REPOSITORY" sudo chmod -R g-w,o-w "$HOMEBREW_CORE_REPOSITORY"
fi fi