Skip to content

chore(deps): update homebrew/actions digest to bd3f092 in .github/workflows/brew-regression.yml #345

chore(deps): update homebrew/actions digest to bd3f092 in .github/workflows/brew-regression.yml

chore(deps): update homebrew/actions digest to bd3f092 in .github/workflows/brew-regression.yml #345

Workflow file for this run

# ref, https://stackoverflow.com/questions/71791532/github-actions-homebrew-install-terraform-version-lags-behind
name: brew-debug
on:
pull_request:
branches:
- main
env:
# `test` and `audit` are test dev commands
HOMEBREW_DEVELOPER: 1
HOMEBREW_NO_AUTO_UPDATE: 1
HOMEBREW_NO_ANALYTICS: 1
# save some time
HOMEBREW_NO_INSTALL_CLEANUP: 1
# no need to upgrade dependants
HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK: 1
# https://github.com/Homebrew/homebrew-test-bot/pull/868
HOMEBREW_NO_INSTALL_FROM_API: 1
# three jobs in this workflow:
# 1. debug formula on macos (runs on PR only)
# 2. debug formula on ubuntu (runs on PR only)
jobs:
dummy-job:
runs-on: ubuntu-24.04
steps:
- run: echo "dummy job"
# # debug formula run on arm macos
# formula-debug-macos:
# runs-on: macos-14 # macos-14 is arm runner
# if: github.event_name == 'pull_request'
# defaults:
# run:
# # simplify the debugging flow
# # https://docs.brew.sh/FAQ#why-should-i-install-homebrew-in-the-default-location
# working-directory: /opt/homebrew/Library/Taps/homebrew/homebrew-core
# steps:
# - run: brew update
# - name: Setup tmate session
# uses: mxschmitt/action-tmate@v3
# # debug formula run on intel macos
# formula-debug-macos:
# runs-on: macos-13 # macos-14 is arm runner
# if: github.event_name == 'pull_request'
# defaults:
# run:
# # simplify the debugging flow
# # https://docs.brew.sh/FAQ#why-should-i-install-homebrew-in-the-default-location
# working-directory: /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core
# steps:
# - run: brew update
# - name: Setup tmate session
# uses: mxschmitt/action-tmate@v3
# # debug formula on ubuntu
# formula-debug-ubuntu:
# runs-on: ubuntu-24.04
# if: github.event_name == 'pull_request'
# defaults:
# run:
# # simplify the debugging flow
# # https://docs.brew.sh/FAQ#why-should-i-install-homebrew-in-the-default-location
# working-directory: /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-core
# steps:
# # As brew got removed from the ubuntu images, we need to install it
# # https://github.com/actions/runner-images/issues/6283
# - name: Set up Homebrew
# id: set-up-homebrew
# # https://github.com/Homebrew/actions/tree/master/setup-homebrew
# uses: Homebrew/actions/setup-homebrew@bc738ca370c95ed8d8b44c9b5fcba16e54f5218a
# - name: Setup tmate session
# uses: mxschmitt/action-tmate@v3