From 4a3ccb32f94fa9cacad4303dcc559f4b2d51d2bf Mon Sep 17 00:00:00 2001 From: Chris Schinnerl Date: Tue, 5 Nov 2024 11:01:43 +0100 Subject: [PATCH] test.yml: update audit step --- .github/workflows/test.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 179991d..506fd75 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -27,7 +27,10 @@ jobs: - name: Audit run: | - for formula in Formula/*.rb; do - formula_name=$(basename $formula .rb) - brew audit --strict --online $formula_name + brew tap-new siafoundation/test --no-git + cp -r Formula/* $(brew --repository)/Library/Taps/siafoundation/homebrew-test/Formula + for file in $(brew --repository)/Library/Taps/siafoundation/homebrew-test/Formula/* + do + brew audit --formula "$(basename ${file%.rb})" done + brew untap siafoundation/test