File tree Expand file tree Collapse file tree 1 file changed +13
-31
lines changed
Expand file tree Collapse file tree 1 file changed +13
-31
lines changed Original file line number Diff line number Diff line change 44 branches :
55 - main
66 pull_request :
7+
78jobs :
89 test-bot :
10+ runs-on : ${{ matrix.os }}
911 strategy :
1012 matrix :
11- # os: [ubuntu-latest, macos-latest]
12- os : [macos-latest]
13- runs-on : ${{ matrix.os }}
13+ os : [macos-13, macos-latest, ubuntu-latest, ubuntu-24.04-arm64]
1414 steps :
15+ - name : Checkout Tap
16+ uses : actions/checkout@v4
17+
1518 - name : Set up Homebrew
1619 id : set-up-homebrew
1720 uses : Homebrew/actions/setup-homebrew@master
1821
19- - name : Cache Homebrew Bundler RubyGems
20- id : cache
21- uses : actions/cache@v4
22- with :
23- path : ${{ steps.set-up-homebrew.outputs.gems-path }}
24- key : ${{ runner.os }}-rubygems-${{ steps.set-up-homebrew.outputs.gems-hash }}
25- restore-keys : ${{ runner.os }}-rubygems-
26-
27- - name : Install Homebrew Bundler RubyGems
28- if : steps.cache.outputs.cache-hit != 'true'
29- run : brew install-bundler-gems
30-
31- - run : brew test-bot --only-cleanup-before
32-
33- - run : brew test-bot --only-setup
34-
35- - run : brew test-bot --only-tap-syntax
36-
37- - run : brew test-bot --only-formulae
38- if : github.event_name == 'pull_request'
39- env :
40- DSN : ${{ secrets.DSN }}
22+ - name : Tap and Install Formula
23+ run : |
24+ brew tap $GITHUB_REPOSITORY
25+ brew install cb
4126
42- - name : Upload bottles as artifact
43- if : always() && github.event_name == 'pull_request'
44- uses : actions/upload-artifact@main
45- with :
46- name : bottles
47- path : ' *.bottle.*'
27+ - name : Test Formula
28+ run : |
29+ cb version
You can’t perform that action at this time.
0 commit comments