Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 3 additions & 16 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -303,26 +303,13 @@ jobs:
name: Test Homebrew Formula (macOS)
runs-on: macos-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Homebrew
uses: Homebrew/actions/setup-homebrew@master

- name: Install stable Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable

- name: Install Homebrew
run: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

- name: Set up Homebrew in PATH
run: |
echo "$HOMEBREW_PREFIX/bin:$HOMEBREW_PREFIX/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin" >> $GITHUB_PATH

- name: Update Homebrew
run: brew update

- name: Let Homebrew build gitui from source
run: brew install --head --build-from-source gitui

- name: Run Homebrew test
run: brew test gitui
run: brew install --build-from-source gitui
Loading