From 6a6e8705507f5b8e32aeb5b7476dfaeea7cec913 Mon Sep 17 00:00:00 2001 From: Karthik Nadig Date: Mon, 18 Nov 2024 07:44:17 -0800 Subject: [PATCH] Add `brew update` to unblock homebrew PR check --- .devcontainer/linux-homebrew/Dockerfile | 3 ++- .github/workflows/pr-check.yml | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.devcontainer/linux-homebrew/Dockerfile b/.devcontainer/linux-homebrew/Dockerfile index f79c8ddb..ea131ceb 100644 --- a/.devcontainer/linux-homebrew/Dockerfile +++ b/.devcontainer/linux-homebrew/Dockerfile @@ -10,7 +10,8 @@ RUN curl https://raw.githubusercontent.com/DonJayamanne/vscode-jupyter/container RUN echo "# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh." >> ~/.zshrc RUN echo "[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh" >> ~/.zshrc -# Install Pythone +# Install Python +RUN brew update RUN brew install python@3.12 python@3.11 # Install Rust diff --git a/.github/workflows/pr-check.yml b/.github/workflows/pr-check.yml index cb327c34..e8ee8a9c 100644 --- a/.github/workflows/pr-check.yml +++ b/.github/workflows/pr-check.yml @@ -395,7 +395,9 @@ jobs: # Homebrew - name: Homebrew Python if: startsWith( matrix.image, 'homebrew') - run: brew install python@3.12 python@3.11 + run: | + brew update + brew install python@3.12 python@3.11 shell: bash # Rust