chore: pin actions to SHA and add CI #2
This file contains hidden or 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: CI | |
| on: | |
| push: | |
| branches: [main, master] | |
| pull_request: | |
| permissions: | |
| contents: read | |
| jobs: | |
| audit: | |
| runs-on: macos-latest | |
| steps: | |
| - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 | |
| - name: Set up Homebrew tap | |
| run: brew tap platinummonkey/tap "$(pwd)" | |
| - name: Audit casks | |
| run: | | |
| for cask in Casks/*.rb; do | |
| name=$(basename "$cask" .rb) | |
| brew audit --cask --strict --online "platinummonkey/tap/$name" || true | |
| done |