-
Notifications
You must be signed in to change notification settings - Fork 42
42 lines (39 loc) · 1.16 KB
/
install.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: Brew install tests
on:
push:
branches: [master]
pull_request:
branches: [master]
permissions:
contents: read
jobs:
install_casks:
name: Install ${{ matrix.cask }} cask on ${{ matrix.macos }}
strategy:
matrix:
macos: [ 'macos-12', 'macos-13', 'macos-14' ]
cask: [ 'pe-client-tools', 'pe-client-tools-2019.8', 'pdk', 'puppet-agent', 'puppet-agent-7', 'puppet-agent-8', 'puppet-bolt', 'puppet-bolt@2' ]
env:
HOMEBREW_LOGS: ~/homebrew-logs
HOMEBREW_TEMP: ~/homebrew-temp
HOMEBREW_NO_AUTO_UPDATE: 1
runs-on: ${{ matrix.macos }}
steps:
- name: Checkout current PR
uses: actions/checkout@v4
with:
fetch-depth: 0
- run: brew install --cask Casks/${{ matrix.cask }}.rb --force
install_formulae:
name: Install ${{ matrix.formula }} formula on ${{ matrix.macos }}
strategy:
matrix:
macos: [ 'macos-12' ]
formula: [ 'kubectl-ran' ]
runs-on: ${{ matrix.macos }}
steps:
- name: Checkout current PR
uses: actions/checkout@v4
with:
fetch-depth: 0
- run: brew install Formula/${{ matrix.formula }}.rb