Warning
I've cherry-picked the changes from #84 and #88 into this branch to confirm the changes to the CI process fixes things. Before merging this PR, these cherry-picks should be removed to follow single responsibility changes.
What does this change?
The builds in #84 and #88 are failing with messages that suggest a git conflict:
Indeed, this is confirmed via #92, which demonstrates that somewhere in the build homebrew is making changes to the checked out code in a way that causes git conflicts. This results in the above error message being witnessed when we attempt to install from the checked out code.
In this change, we split the CI steps up, changing the ordering.
Before
Checkout branch
Apply AWS CLI work-around
Update homebrew
Install from local file system
After
Apply AWS CLI work-around
Update homebrew
Checkout branch
Install from local file system
This should guarantee that homebrew does not mutate the checked out branch, and therefore make the build more deterministic, and stable.
What does this change?
The builds in #84 and #88 are failing with messages that suggest a git conflict:
Indeed, this is confirmed via #92, which demonstrates that somewhere in the build homebrew is making changes to the checked out code in a way that causes git conflicts. This results in the above error message being witnessed when we attempt to install from the checked out code.
In this change, we split the CI steps up, changing the ordering.
Before
After
This should guarantee that homebrew does not mutate the checked out branch, and therefore make the build more deterministic, and stable.
How to test
Observe CI.
How can we measure success?
The PRs #84 and #88 become mergeable.