Skip to content

gh-dash 4.2.0

gh-dash 4.2.0 #92

Workflow file for this run

name: 馃И Homebrew Test
on:
push:
branches:
- main
paths-ignore:
- "**.md"
pull_request:
schedule:
- cron: "0 0 * * SAT"
jobs:
Test-Bot:
strategy:
matrix:
os: [Ubuntu-Latest, macOS-13, macOS-14]
runs-on: ${{ matrix.os }}
steps:
- name: 馃嵑 Setup Homebrew
id: setup-homebrew
uses: Homebrew/actions/setup-homebrew@master
- name: 馃珯 Cache Homebrew Bundler RubyGems
id: cache
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
with:
path: ${{ steps.setup-homebrew.outputs.gems-path }}
key: ${{ runner.os }}-rubygems-${{ steps.setup-homebrew.outputs.gems-hash }}
restore-keys: ${{ runner.os }}-rubygems-
- name: 馃拵 Install Homebrew Bundler RubyGems
if: steps.cache.outputs.cache-hit != 'true'
run: brew install-bundler-gems
- name: 馃毎 Tap and Switch Branch
run: |
brew tap "$GITHUB_REPOSITORY"
git -C "$(brew tap-info "$GITHUB_REPOSITORY" --json | jq -r '.[].path')" switch "${GITHUB_HEAD_REF:-main}"
- name: 馃Ч Cleanup Test Bot
run: brew test-bot --verbose --only-cleanup-before
- name: 馃敡 Setup Test Bot
run: brew test-bot --verbose --only-setup
- name: 馃摵 Tap Syntax Test Bot
run: brew test-bot --verbose --only-tap-syntax
- name: 馃Ь Formula Test Bot
if: ${{ github.event_name != 'schedule' }}
run: brew test-bot --verbose --only-formulae
- name: 馃摬 Install Formula
run: |
for formula in $(brew search "${GITHUB_REPOSITORY/homebrew-/}"); do
brew install --formula --verbose "$formula"
done