Skip to content

Add setup-homebrew support for ubuntu-slim.#770

Merged
MikeMcQuaid merged 1 commit intomainfrom
ubuntu_slim_setup_homebrew
Dec 9, 2025
Merged

Add setup-homebrew support for ubuntu-slim.#770
MikeMcQuaid merged 1 commit intomainfrom
ubuntu_slim_setup_homebrew

Conversation

@MikeMcQuaid
Copy link
Copy Markdown
Member

This will allow it to be installed and used without a pre-existing Homebrew installation.

@MikeMcQuaid MikeMcQuaid force-pushed the ubuntu_slim_setup_homebrew branch from b38cfe8 to c20c3be Compare December 9, 2025 10:41
This will allow it to be installed and used without a pre-existing
Homebrew installation.
@MikeMcQuaid MikeMcQuaid force-pushed the ubuntu_slim_setup_homebrew branch from c20c3be to 0da5e12 Compare December 9, 2025 11:38
@MikeMcQuaid MikeMcQuaid marked this pull request as ready for review December 9, 2025 11:49
Copilot AI review requested due to automatic review settings December 9, 2025 11:49
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request adds support for installing Homebrew automatically when it's not already present, enabling setup-homebrew to work on systems without a pre-existing Homebrew installation. The main change introduces an install_homebrew function that detects the platform, downloads the official Homebrew installer, and verifies the installation.

Key Changes

  • Added install_homebrew() function to automatically install Homebrew when not found
  • Modified error handling to attempt installation instead of immediately failing when brew is not in PATH
  • Added test configuration for ubuntu-slim environment to verify the new installation capability

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
setup-homebrew/main.sh Adds install_homebrew() function with platform detection and automatic Homebrew installation, replaces error exit with installation attempt when brew is not found
.github/workflows/setup-homebrew.yml Adds ubuntu-slim test matrix entry and descriptive names to all test configurations

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Copy Markdown
Member

@p-linnane p-linnane left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's give it a shot!

@MikeMcQuaid MikeMcQuaid merged commit ee1f304 into main Dec 9, 2025
22 checks passed
@MikeMcQuaid MikeMcQuaid deleted the ubuntu_slim_setup_homebrew branch December 9, 2025 16:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants