Skip to content

Commit ff4a7ba

Browse files
fix: auto-fix test failures from Test all (MacOS) (#66)
Co-authored-by: kevinwang5658 <20214115+kevinwang5658@users.noreply.github.com>
1 parent 87e9e30 commit ff4a7ba

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

‎src/resources/tart/tart.ts‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,15 @@ export class TartResource extends Resource<TartConfig> {
133133
throw new Error('Homebrew is not installed. Please install Homebrew before installing tart.');
134134
}
135135

136+
// Tap and trust cirruslabs/cli so all formulae from the tap (including the
137+
// softnet dependency) are allowed by Homebrew 5.x+ tap trust enforcement.
138+
await $.spawnSafe('brew tap cirruslabs/cli', {
139+
env: { HOMEBREW_NO_AUTO_UPDATE: 1, HOMEBREW_NO_ASK: 1, NONINTERACTIVE: 1 },
140+
});
141+
await $.spawnSafe('brew trust cirruslabs/cli', {
142+
env: { HOMEBREW_NO_AUTO_UPDATE: 1, NONINTERACTIVE: 1 },
143+
});
144+
136145
// Install tart via Homebrew
137146
await Utils.installViaPkgMgr('cirruslabs/cli/tart', undefined, PackageManager.BREW);
138147

0 commit comments

Comments
 (0)