diff --git a/.github/workflows/ci-test.yml b/.github/workflows/ci-test.yml index ec24e8b90ba..7c9f2a6a5d6 100644 --- a/.github/workflows/ci-test.yml +++ b/.github/workflows/ci-test.yml @@ -128,6 +128,15 @@ jobs: key: test-${{ runner.os }} max-size: 1000M + - name: Cache Homebrew Packages + id: cache-homebrew-packages + uses: actions/cache@v4 + env: + cache-name: homebrew-packages + with: + path: $(brew --prefix) + key: ${{ runner.os }}-${{ hashFiles('tools/install_mac_deps.sh') }} + - name: Install dependencies (MacOS) run: | tools/install_mac_deps.sh @@ -161,6 +170,15 @@ jobs: key: test-${{ runner.os }} max-size: 1000M + - name: Cache Homebrew Packages + id: cache-homebrew-packages + uses: actions/cache@v4 + env: + cache-name: homebrew-packages + with: + path: $(brew --prefix) + key: ${{ runner.os }}-${{ hashFiles('tools/install_mac_deps.sh') }} + - name: Install dependencies (MacOS) run: | tools/install_mac_deps.sh