Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setup-homebrew: source homebrew from standard locations #308

Merged
merged 5 commits into from
Sep 27, 2022

Conversation

SMillerDev
Copy link
Member

Should fix the problem introduced by actions/runner-images#6283

Copy link
Member

@MikeMcQuaid MikeMcQuaid left a comment

Choose a reason for hiding this comment

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

Thanks for this. I still think we should probably:

  • print a warning letting people know that the Ubuntu 22.04 is a better fit and will be significantly faster using Homebrew there
  • audit and fix all our usage of ubuntu-latest where we rely on brew being in the PATH and move to Ubuntu 22.04

setup-homebrew/main.sh Outdated Show resolved Hide resolved
setup-homebrew/main.sh Outdated Show resolved Hide resolved
@SMillerDev
Copy link
Member Author

Will a rebuild fix the GCC style audit failure?

@carlocab
Copy link
Member

Will a rebuild fix the GCC style audit failure?

I don't know, but I know exempting gcc@12 from the alias audit on older Linux systems will.

@carlocab
Copy link
Member

Oh, actually, this will be fixed by Homebrew/brew#13916 too.

@carlocab
Copy link
Member

I suggest skipping the tap-syntax test on ubuntu-latest for now, since fixing this action is likely a prerequisite for fixing that failure:

diff --git a/.github/workflows/setup-homebrew.yml b/.github/workflows/setup-homebrew.yml
index a519112..ee64725 100644
--- a/.github/workflows/setup-homebrew.yml
+++ b/.github/workflows/setup-homebrew.yml
@@ -45,3 +45,4 @@ jobs:
       - run: brew test-bot --only-setup
 
       - run: brew test-bot --only-tap-syntax
+        if: matrix.os != 'ubuntu-latest'

@MikeMcQuaid MikeMcQuaid merged commit a7d313c into master Sep 27, 2022
@MikeMcQuaid MikeMcQuaid deleted the fix/attempt_sourcing_shellenv branch September 27, 2022 08:27
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants