git pushfをpfにした #147
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: dotfiles CI | |
on: | |
pull_request: | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Update packages list and install zsh on Ubuntu | |
if: runner.os == 'Linux' | |
run: | | |
sudo apt update -y | |
sudo apt install -y zsh | |
- name: Update packages list and install zsh on macOS | |
if: runner.os == 'macOS' | |
run: | | |
brew update | |
brew install zsh | |
- name: Check syntax of initialize.zsh file | |
run: zsh -n initialize.zsh | |
- name: Check syntax of initialize script files | |
run: "zsh -n ./scripts/init/*.zsh" | |
- name: Check syntax of symlinks/dirs/bin/pull-dotfiles file | |
run: zsh -n symlinks/dirs/bin/pull-dotfiles |