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:
parent
8e370b35fa
commit
8f4188926a
6
.github/workflows/tests.yml
vendored
6
.github/workflows/tests.yml
vendored
@ -106,6 +106,9 @@ jobs:
|
|||||||
|
|
||||||
# don't care about `brew cask style` here.
|
# don't care about `brew cask style` here.
|
||||||
brew untap adoptopenjdk/openjdk
|
brew untap adoptopenjdk/openjdk
|
||||||
|
|
||||||
|
# don't care about `brew audit` here.
|
||||||
|
brew untap mongodb/brew
|
||||||
else
|
else
|
||||||
# Fix permissions for 'brew tests'
|
# Fix permissions for 'brew tests'
|
||||||
sudo chmod -R g-w,o-w /home/linuxbrew /home/runner /opt
|
sudo chmod -R g-w,o-w /home/linuxbrew /home/runner /opt
|
||||||
@ -166,6 +169,9 @@ jobs:
|
|||||||
if: matrix.os == 'macOS-latest'
|
if: matrix.os == 'macOS-latest'
|
||||||
run: brew cask style
|
run: brew cask style
|
||||||
|
|
||||||
|
- name: Run brew audit
|
||||||
|
run: brew audit --skip-style
|
||||||
|
|
||||||
- name: Run vale for docs linting
|
- name: Run vale for docs linting
|
||||||
run: |
|
run: |
|
||||||
brew install vale
|
brew install vale
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user