From 0c9472753f1eaa500f4fe0e34ce080f481ff6918 Mon Sep 17 00:00:00 2001 From: Natalie Weizenbaum Date: Thu, 8 Feb 2024 14:59:11 -0800 Subject: [PATCH] Update tests now that `brew audit [path]` is deprecated --- .github/workflows/ci.yaml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 0e45b0c..d6ab1b6 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -17,14 +17,16 @@ jobs: fail-fast: false matrix: recipe: - - sass.rb - - dart-sass-embedded@1.62.1.rb - - migrator.rb + - sass + - dart-sass-embedded@1.62.1 + - migrator steps: - uses: actions/checkout@v3 - run: brew update - - run: brew audit --strict --git --online --formula $GITHUB_WORKSPACE/Formula/${{ matrix.recipe }} - - run: brew install --formula $GITHUB_WORKSPACE/Formula/${{ matrix.recipe }} - - run: brew test $GITHUB_WORKSPACE/Formula/${{ matrix.recipe }} - - run: brew uninstall --formula $GITHUB_WORKSPACE/Formula/${{ matrix.recipe }} + - run: brew tap-new sass/sass + - run: git checkout -C $(brew --repository sass/sass) $(git rev-parse HEAD) + - run: brew audit --strict --git --online sass/${{ matrix.recipe }} + - run: brew install sass/${{ matrix.recipe }} + - run: brew test sass/${{ matrix.recipe }} + - run: brew uninstall sass/${{ matrix.recipe }}