Skip to content

Add GitHub action

Add GitHub action #5

Workflow file for this run

name: Test
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test:
runs-on: macos-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v3
- name: Set up Homebrew
run: |
brew update
brew tap homebrew/cask
- name: Test Formulae
run: |
brew unlink [email protected] || true
brew install --build-from-source Formula/*.rb
brew test Formula/*.rb
brew unlink [email protected] || true
brew audit --strict --online Formula/*.rb