Skip to content

Commit

Permalink
fix: remove default gitconfig at macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
YasminTeles committed Mar 10, 2024
1 parent 07d6bae commit eaa2cfe
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 18 deletions.
23 changes: 6 additions & 17 deletions .github/workflows/health-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,23 +36,8 @@ jobs:
defaults:
run:
shell: ${{ matrix.shell }}
timeout-minutes: 30
steps:
- name: Clean up linuxOS
if: runner.os != 'macOS'
run: sudo apt-get install build-essential

- name: Cleanup macOS
if: runner.os == 'macOS'
run: |
sudo rm -rf /Applications/Xcode.app \
/Library/Developer/CommandLineTools
sudo xcode-select --reset
- name: Install Homebrew
run: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
env:
NONINTERACTIVE: 1

- name: Set up Homebrew PATH
run: |
if [[ "${{ runner.os }}" = "macOS" ]]
Expand All @@ -65,8 +50,12 @@ jobs:
- name: Check Homebrew
run: brew --config

- name: Homebrew install
run: brew install ack

- name: Run install script
run: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/YasminTeles/dotfiles/main/install.sh)"
timeout-minutes: 30
run: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/YasminTeles/dotfiles/main/install.sh)" >/dev/null
env:
CI: true

Expand Down
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ mkdir ~/Projects

# -- Homebrew -----------------------------------------------------------------
step_msg "Installing homebrew"
brew update
brew install git stow

# -- Dotfiles -----------------------------------------------------------------
step_msg "Setting up dotfiles"
git clone https://github.com/YasminTeles/dotfiles.git ~/.dotfiles

cd ~/.dotfiles
rm -rf ~/.gitconfig
stow --dotfiles git ssh brew

# -- Productivity Apps ---------------------------------------------------------
Expand Down

0 comments on commit eaa2cfe

Please sign in to comment.