Skip to content

Merge pull request #410 from mhashizume/maint/master/macos-removal #107

Merge pull request #410 from mhashizume/maint/master/macos-removal

Merge pull request #410 from mhashizume/maint/master/macos-removal #107

Workflow file for this run

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: [ 'relay', '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