Skip to content

Commit 01ce7e2

Browse files
committed
improve ci to ignore non formula .rb files
1 parent 447a566 commit 01ce7e2

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

.github/workflows/test.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ on:
66
- main
77
- master
88
pull_request:
9-
schedule:
10-
- cron: "17 4 * * 6"
119
workflow_dispatch:
1210

1311
permissions: {}
@@ -60,7 +58,12 @@ jobs:
6058
run: brew test-bot --only-setup
6159

6260
- name: Check tap syntax
63-
run: brew test-bot --only-tap-syntax
61+
run: |
62+
tap="${GITHUB_REPOSITORY/homebrew-/}"
63+
tap_path="${{ steps.set-up-homebrew.outputs.repository-path }}"
64+
brew style "$tap_path/Formula"
65+
brew readall --aliases --os=all --arch=all "$tap"
66+
brew audit --except=installed --tap="$tap"
6467
6568
- name: Test changed formulae
6669
if: github.event_name == 'pull_request'

0 commit comments

Comments
 (0)