Skip to content

Merge pull request #1 from 1000Bulbs/switch-back-to-shell-script #23

Merge pull request #1 from 1000Bulbs/switch-back-to-shell-script

Merge pull request #1 from 1000Bulbs/switch-back-to-shell-script #23

Workflow file for this run

name: test
'on':
push:
pull_request:
env:
HOMEBREW_NO_AUTO_UPDATE: 1
jobs:
osx:
name: "macOS ${{ matrix.os }}"
runs-on: "macos-${{ matrix.os }}"
strategy:
fail-fast: false
matrix:
os:
- "14"
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install shellcheck
run: brew install shellcheck
- name: Lint
run: shellcheck mac
- name: Uninstall homebrew
run: |
NONINTERACTIVE=1 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/uninstall.sh)"
- name: Uninstall apps
run: |
rm -Rf \
"/Applications/1Password.app" \
"/Applications/Docker.app" \
"/Applications/Google Chrome.app" \
"/Applications/iTerm.app" \
"/Applications/Rectangle.app" \
"/Applications/Slack.app"
- name: Test
run: sh mac