Merge pull request #1 from 1000Bulbs/switch-back-to-shell-script #23
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |