From d8442d175e8ac282889314678a45850e7df2330b Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Tue, 4 Aug 2020 16:04:09 +0100 Subject: [PATCH] workflows/tests: tweak step naming. This should make it a bit more obvious what is being tested each time. The homebrew-core/linuxbrew-core style step actually runs the same command but, as far as I can tell, there's no way of altering the string that's output as the `name` based on the OS. --- .github/workflows/tests.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 7e573f2db2..072ee40f45 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -114,7 +114,7 @@ jobs: sudo chmod -R g-w,o-w /home/linuxbrew /home/runner /opt fi - - name: Run brew style + - name: Run brew style on Homebrew/brew run: brew style --display-cop-names - name: Run brew man @@ -160,16 +160,21 @@ jobs: run: brew readall --aliases - name: Run brew style on homebrew-core + if: matrix.os == 'macOS-latest' + run: brew style --display-cop-names homebrew/core + + - name: Run brew style on linuxbrew-core + if: matrix.os == 'ubuntu-latest' run: brew style --display-cop-names homebrew/core - name: Run brew style on official taps run: brew style --display-cop-names homebrew/bundle homebrew/services homebrew/test-bot - - name: Run brew cask style + - name: Run brew cask style on all taps if: matrix.os == 'macOS-latest' run: brew cask style - - name: Run brew audit + - name: Run brew audit --skip-style on all taps run: brew audit --skip-style - name: Run vale for docs linting