mirror of
https://github.com/curl/curl.git
synced 2026-08-25 00:13:34 +03:00
GHA: set HOMEBREW_NO_AUTO_UPDATE=1 for Linuxbrew
In an attempt to make `brew install` commands initialize faster. Often this command started with 20-50 seconds of delay before this patch. This is an attempt to make it launch faster. Cherry-picked from #18736
This commit is contained in:
parent
5b8c80684b
commit
edbf610c6a
3 changed files with 4 additions and 4 deletions
4
.github/workflows/checksrc.yml
vendored
4
.github/workflows/checksrc.yml
vendored
|
|
@ -72,7 +72,7 @@ jobs:
|
|||
|
||||
- name: 'typos'
|
||||
run: |
|
||||
/home/linuxbrew/.linuxbrew/bin/brew install typos-cli
|
||||
HOMEBREW_NO_AUTO_UPDATE=1 /home/linuxbrew/.linuxbrew/bin/brew install typos-cli
|
||||
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
|
||||
typos --version
|
||||
.github/scripts/typos.sh
|
||||
|
|
@ -118,7 +118,7 @@ jobs:
|
|||
timeout-minutes: 5
|
||||
steps:
|
||||
- name: 'install prereqs'
|
||||
run: /home/linuxbrew/.linuxbrew/bin/brew install shellcheck zizmor
|
||||
run: HOMEBREW_NO_AUTO_UPDATE=1 /home/linuxbrew/.linuxbrew/bin/brew install shellcheck zizmor
|
||||
|
||||
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
|
||||
with:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue