File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed
Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -275,3 +275,31 @@ jobs:
275275 with :
276276 name : release-notes.txt
277277 path : ./release-notes.txt
278+
279+ test-homebrew :
280+ name : Test Homebrew Formula (macOS)
281+ runs-on : macos-latest
282+ steps :
283+ - name : Checkout code
284+ uses : actions/checkout@v4
285+
286+ - name : Install stable Rust
287+ uses : actions-rs/toolchain@v1
288+ with :
289+ toolchain : stable
290+
291+ - name : Install Homebrew
292+ run : /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
293+
294+ - name : Set up Homebrew in PATH
295+ run : |
296+ echo "$HOMEBREW_PREFIX/bin:$HOMEBREW_PREFIX/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin" >> $GITHUB_PATH
297+
298+ - name : Update Homebrew
299+ run : brew update
300+
301+ - name : Let Homebrew build gitui from source
302+ run : brew install --head --build-from-source gitui
303+
304+ - name : Run Homebrew test
305+ run : brew test gitui
You can’t perform that action at this time.
0 commit comments