Try GitHub actions for dotfiles #6
Workflow file for this run
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: CI | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
permissions: | |
contents: read | |
jobs: | |
dotfile-build: | |
name: Dotfiles | |
runs-on: macos-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Check Brewfile contents | |
run: | | |
brew bundle list | |
- name: Install zsh shell | |
run: | | |
brew install zsh | |
- name: Run combine script | |
run: | | |
sh ./combine.zsh | |
- name: Run copy script | |
run: | | |
sh ./copy.sh |