Skip to content

Commit

Permalink
No longer run brew update in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
smoelius committed Jul 29, 2024
1 parent 06f496e commit 74e4269
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,9 @@ jobs:
run: |
LLVM_VERSION="$(rustc --version -v | grep '^LLVM version:' | grep -o '[0-9]\+' | head -n 1)"
if [[ ${{ matrix.environment }} = 'macos-latest' ]]; then
brew update
# smoelius: Around the time Rust 1.80 was released, running `brew update` would be
# followed by "cargo: command not found" errors.
# brew update
brew install llvm@"$LLVM_VERSION" || true
echo "/usr/local/opt/llvm/bin" >> "$GITHUB_PATH"
else
Expand Down

0 comments on commit 74e4269

Please sign in to comment.