Skip to content

Commit

Permalink
add install workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
idleberg committed Apr 6, 2024
1 parent 901758e commit da42dbd
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/install.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: audit

on:
push:
branches:
- main

jobs:
audit:
runs-on: ${{ matrix.os }}

strategy:
matrix:
os: [macos-latest, ubuntu-latest]

steps:
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
with:
fetch-depth: 1

- name: Install Homebrew
if: matrix.os == 'ubuntu-latest'
uses: Homebrew/actions/setup-homebrew@master

- name: Update Homebrew
if: matrix.os != 'ubuntu-latest'
run: brew update --auto-update

- name: Install Formulas
run: |
for file in ./Formula/*.rb
do
echo "Testing $file"
brew audit idleberg/asahi/$(basename ${file%.rb}) --online
done

0 comments on commit da42dbd

Please sign in to comment.