Skip to content

Commit

Permalink
test.yml: fix install
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisSchinnerl committed Nov 5, 2024
1 parent 6dab899 commit b1223b6
Showing 1 changed file with 22 additions and 23 deletions.
45 changes: 22 additions & 23 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,33 +2,32 @@ name: Test

on:
push:
branches: [ master ]
branches: [master]
pull_request:
branches: [ master ]
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: Install
run: brew install --build-from-source Formula/*.rb

- name: Test
run: brew test Formula/*.rb

- name: Audit
run: |
for formula in Formula/*.rb; do
formula_name=$(basename $formula .rb)
brew audit --strict --online $formula_name
done
- name: Check out Git repository
uses: actions/checkout@v4

- name: Set up Homebrew
run: |
brew update
brew tap homebrew/cask
- name: Install
run: brew install --formula --build-from-source Formula/*.rb

- name: Test
run: brew test Formula/*.rb

- name: Audit
run: |
for formula in Formula/*.rb; do
formula_name=$(basename $formula .rb)
brew audit --strict --online $formula_name
done

0 comments on commit b1223b6

Please sign in to comment.