From b1223b6fca2e88b145d3b007fcfcb14e935f7689 Mon Sep 17 00:00:00 2001 From: Chris Schinnerl Date: Tue, 5 Nov 2024 10:18:41 +0100 Subject: [PATCH] test.yml: fix install --- .github/workflows/test.yml | 45 +++++++++++++++++++------------------- 1 file changed, 22 insertions(+), 23 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e670425..179991d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -2,33 +2,32 @@ name: Test on: push: - branches: [ master ] + branches: [master] pull_request: - branches: [ master ] + branches: [master] jobs: test: runs-on: macos-latest steps: - - name: Check out Git repository - uses: actions/checkout@v3 - - - name: Set up Homebrew - run: | - brew update - brew tap homebrew/cask - - - name: Install - run: brew install --build-from-source Formula/*.rb - - - name: Test - run: brew test Formula/*.rb - - - name: Audit - run: | - for formula in Formula/*.rb; do - formula_name=$(basename $formula .rb) - brew audit --strict --online $formula_name - done - + - name: Check out Git repository + uses: actions/checkout@v4 + + - name: Set up Homebrew + run: | + brew update + brew tap homebrew/cask + + - name: Install + run: brew install --formula --build-from-source Formula/*.rb + + - name: Test + run: brew test Formula/*.rb + + - name: Audit + run: | + for formula in Formula/*.rb; do + formula_name=$(basename $formula .rb) + brew audit --strict --online $formula_name + done