Skip to content

Add CI for brew installs #1

Add CI for brew installs

Add CI for brew installs #1

Workflow file for this run

name: Brew CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
darwin-arm64:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- run: brew install --build-from-source Formula/buf.rb
- run: buf --version
darwin-x86_64:
runs-on: macos-13
steps:
- uses: actions/checkout@v4
- run: brew install --build-from-source Formula/buf.rb
- run: buf --version
# Linux arm64 is not supported by Homebrew:
# https://docs.brew.sh/Homebrew-on-Linux#arm-unsupported
linux-x86_64:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Homebrew
uses: Homebrew/actions/setup-homebrew@master
- run: brew install --build-from-source Formula/buf.rb
- run: buf --version