Skip to content

🤖 go generate ./... #95

🤖 go generate ./...

🤖 go generate ./... #95

Workflow file for this run

name: brew test-bot
on:
push:
branches:
- main
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref_name }}-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: true
permissions: {}
jobs:
test-bot:
strategy:
matrix:
os:
- ubuntu-24.04-arm
- ubuntu-24.04
- macos-15
- macos-15-intel
runs-on: ${{ matrix.os }}
permissions:
actions: read
checks: read
contents: read
pull-requests: read
steps:
- name: Install Homebrew
if: matrix.os == 'ubuntu-24.04-arm'
run: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
- name: Set up Homebrew
id: set-up-homebrew
uses: Homebrew/actions/setup-homebrew@main
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Cache Homebrew Bundler RubyGems
uses: actions/cache@v5
with:
path: ${{ steps.set-up-homebrew.outputs.gems-path }}
key: ${{ matrix.os }}-rubygems-${{ steps.set-up-homebrew.outputs.gems-hash }}
restore-keys: ${{ matrix.os }}-rubygems-
- run: brew test-bot --only-cleanup-before
- run: brew test-bot --only-setup
if: matrix.os != 'ubuntu-24.04-arm'
- run: brew test-bot --only-setup || true
if: matrix.os == 'ubuntu-24.04-arm'
- run: brew test-bot --only-tap-syntax
- run: brew test-bot --only-formulae
if: github.event_name == 'pull_request'
- name: Upload bottles as artifact
if: always() && github.event_name == 'pull_request'
uses: actions/upload-artifact@v6
with:
name: bottles_${{ matrix.os }}
path: '*.bottle.*'