Skip to content

Merge pull request #53 from hiroxto/add-tfenv #145

Merge pull request #53 from hiroxto/add-tfenv

Merge pull request #53 from hiroxto/add-tfenv #145

Workflow file for this run

name: dotfiles CI
on:
push:
branches:
- main
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