workflows/tests: run brew audit on homebrew/core.

Run brew audit without Git, style (RuboCop) or online checks for
homebrew/core. This is fast enough now (takes under a minute on my
machine) and these are the audit failures we should never accept
failures on (or introduce new ones without fixing them first).
This commit is contained in:
Mike McQuaid 2020-07-31 12:51:07 +01:00
parent 8e370b35fa
commit 8f4188926a
No known key found for this signature in database
GPG Key ID: 48A898132FD8EE70

View File

@ -106,6 +106,9 @@ jobs:
# don't care about `brew cask style` here.
brew untap adoptopenjdk/openjdk
# don't care about `brew audit` here.
brew untap mongodb/brew
else
# Fix permissions for 'brew tests'
sudo chmod -R g-w,o-w /home/linuxbrew /home/runner /opt
@ -166,6 +169,9 @@ jobs:
if: matrix.os == 'macOS-latest'
run: brew cask style
- name: Run brew audit
run: brew audit --skip-style
- name: Run vale for docs linting
run: |
brew install vale