Skip to content

補完のセットアップスクリプトをまとめた #155

補完のセットアップスクリプトをまとめた

補完のセットアップスクリプトをまとめた #155

Workflow file for this run

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-dotfiles/pull-dotfiles file
run: zsh -n symlinks/dirs/bin-dotfiles/pull-dotfiles