Skip to content

Commit

Permalink
fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fix: remove d…
Browse files Browse the repository at this point in the history
…efault gitconfig at macOS
  • Loading branch information
YasminTeles committed Mar 10, 2024
1 parent dcbae69 commit 59044a9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 29 deletions.
26 changes: 2 additions & 24 deletions .github/workflows/health-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,39 +20,17 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}

Tests:
# strategy:
# matrix:
# os: [ubuntu-latest, macos-13, macos-14]
# include:
# - os: macOS-13
# shell: bash
# - os: macOS-14
# shell: bash
# - os: ubuntu-latest
# shell: bash
# runs-on: ${{ matrix.os }}
# defaults:
# run:
# shell: ${{ matrix.shell }}
runs-on: macos-14
timeout-minutes: 50
steps:
- name: Set up Homebrew PATH
run: |
if [[ "${{ runner.os }}" = "macOS" ]]
then
echo "/usr/local/bin:/usr/bin:/bin" >> "${GITHUB_PATH}"
else
echo "/home/linuxbrew/.linuxbrew/bin:/usr/bin:/bin" >> "${GITHUB_PATH}"
fi
run: echo "/usr/local/bin:/usr/bin:/bin" >> "${GITHUB_PATH}"

- name: Check Homebrew
run: brew --config

- name: Homebrew install
run: |
brew install stow
brew reinstall git
run: brew reinstall git

- name: Run install script
run: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/YasminTeles/dotfiles/main/install.sh)"
Expand Down
10 changes: 5 additions & 5 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ printf "\nPlease wait! It will configure your environment.\n"
step_msg "Creating the Projects folder"
mkdir ~/Projects

# -- Homebrew -----------------------------------------------------------------
step_msg "Installing homebrew"
# brew install git stow
# -- Dependencies -----------------------------------------------------------------
step_msg "Installing dependencies"
brew install stow

# -- Dotfiles -----------------------------------------------------------------
step_msg "Setting up dotfiles"
Expand All @@ -38,11 +38,11 @@ stow --dotfiles git ssh brew

# -- Productivity Apps ---------------------------------------------------------
step_msg "Installing the productivity apps"
brew bundle install --file=~/Brewfile
brew bundle install --file=~/Brewfile >/dev/null

# -- Oh My Zsh -----------------------------------------------------------------
step_msg "Installing the Oh My Zsh"
# chsh -s $(which zsh)
chsh -s $(which zsh)
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" "" --unattended >/dev/null
rm -rf ~/.zshrc
stow --dotfiles zsh
Expand Down

0 comments on commit 59044a9

Please sign in to comment.