From eaa2cfe506d9312d91f2b10c2b8676e075fdcc84 Mon Sep 17 00:00:00 2001 From: Yasmin Teles Date: Sat, 9 Mar 2024 14:26:24 -0300 Subject: [PATCH] fix: remove default gitconfig at macOS --- .github/workflows/health-check.yml | 23 ++++++----------------- install.sh | 2 +- 2 files changed, 7 insertions(+), 18 deletions(-) diff --git a/.github/workflows/health-check.yml b/.github/workflows/health-check.yml index 04c3e55..f052c46 100644 --- a/.github/workflows/health-check.yml +++ b/.github/workflows/health-check.yml @@ -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" ]] @@ -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 diff --git a/install.sh b/install.sh index b36c2bd..1bdb36d 100644 --- a/install.sh +++ b/install.sh @@ -26,7 +26,6 @@ mkdir ~/Projects # -- Homebrew ----------------------------------------------------------------- step_msg "Installing homebrew" -brew update brew install git stow # -- Dotfiles ----------------------------------------------------------------- @@ -34,6 +33,7 @@ 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 ---------------------------------------------------------