Skip to content

Commit

Permalink
Merge pull request #235 from himkt/ci-doctor
Browse files Browse the repository at this point in the history
ci: run brew doctor on CI
  • Loading branch information
himkt authored Mar 9, 2024
2 parents 31a36d6 + 53e0ef2 commit e6aa1de
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 11 deletions.
25 changes: 17 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,25 @@ jobs:

strategy:
matrix:
# os: [ubuntu-latest, macos-latest]
os: [macos-latest]

runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v2
- name: Build linuxbrew
run: |
cp -r $GITHUB_WORKSPACE $HOME/dotfiles && cd $HOME/dotfiles
make
make brew
make brew-optional
- uses: actions/checkout@v4

- name: setup
run: |
cp -r $GITHUB_WORKSPACE $HOME/dotfiles && cd $HOME/dotfiles
make
- name: make {brew,brew-optional}
run: |
make brew
make brew-base
make brew-optional
- name: zsh
run: |
make zsh
make sheldon
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ tmux_clean:

zsh_clean:
rm -rf $(HOME)/.zshrc
rm -rf $(HOME)/.config/zplug

# =========================

Expand Down
3 changes: 3 additions & 0 deletions brew/config.d/optional/Brewfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
tap 'ktr0731/evans'
tap 'nextdns/tap'

brew 'bat'
brew 'coreutils'
brew 'envchain'
Expand Down
2 changes: 0 additions & 2 deletions zsh/bin/setup.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#!/bin/bash

git clone https://github.com/zplug/zplug $HOME/.config/zplug

ln -s $PWD/zsh/config.d/zshrc $HOME/.zshrc
mkdir -p $HOME/.config/dotfiles/zsh

0 comments on commit e6aa1de

Please sign in to comment.