Try GitHub actions for dotfiles (#2) #9
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: | | |
./combine.zsh | |
- name: Run copy script | |
run: | | |
./copy.zsh |