Merge pull request #22 from SiaFoundation/renterd/update #40
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: 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 | |