mirror of
https://github.com/curl/curl.git
synced 2026-07-26 15:27:16 +03:00
GHA: drop brew update from all jobs
After adding it a month ago (where missing) to fix a failure.
Removing this time to fix a different failure (on Linux), and also to
improve CI performance. Some install steps take over a minute, most of
that spent on `brew update`.
GH runner images also enabled extra taps which may contribute to further
delays, and seen to make it more fragile if GH itself struggles (taps
are hosted there.)
Refs:
https://github.com/curl/curl/actions/runs/27384213554/job/80927624171
https://github.com/curl/curl/actions/runs/27382368348/job/80921910973
Follow-up to db5d888673 #21608
Closes #21981
This commit is contained in:
parent
abdfa2baff
commit
d77b4b7407
5 changed files with 5 additions and 10 deletions
5
.github/workflows/checksrc.yml
vendored
5
.github/workflows/checksrc.yml
vendored
|
|
@ -74,7 +74,6 @@ jobs:
|
|||
- name: 'typos'
|
||||
timeout-minutes: 2
|
||||
run: |
|
||||
/home/linuxbrew/.linuxbrew/bin/brew update
|
||||
/home/linuxbrew/.linuxbrew/bin/brew install typos-cli
|
||||
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
|
||||
typos --version
|
||||
|
|
@ -150,9 +149,7 @@ jobs:
|
|||
steps:
|
||||
- name: 'install prereqs'
|
||||
timeout-minutes: 2
|
||||
run: |
|
||||
/home/linuxbrew/.linuxbrew/bin/brew update
|
||||
/home/linuxbrew/.linuxbrew/bin/brew install actionlint shellcheck zizmor
|
||||
run: /home/linuxbrew/.linuxbrew/bin/brew install actionlint shellcheck zizmor
|
||||
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
with:
|
||||
|
|
|
|||
1
.github/workflows/codeql.yml
vendored
1
.github/workflows/codeql.yml
vendored
|
|
@ -80,7 +80,6 @@ jobs:
|
|||
sudo apt-get -o Dpkg::Use-Pty=0 install \
|
||||
libpsl-dev libbrotli-dev libidn2-dev libssh2-1-dev libssh-dev \
|
||||
libnghttp2-dev libldap-dev libkrb5-dev libgnutls28-dev libwolfssl-dev
|
||||
/home/linuxbrew/.linuxbrew/bin/brew update
|
||||
/home/linuxbrew/.linuxbrew/bin/brew install c-ares gsasl libnghttp3 libngtcp2 mbedtls rustls-ffi
|
||||
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
|
|
|
|||
2
.github/workflows/configure-vs-cmake.yml
vendored
2
.github/workflows/configure-vs-cmake.yml
vendored
|
|
@ -89,7 +89,7 @@ jobs:
|
|||
# shellcheck disable=SC2181
|
||||
while [[ $? == 0 ]]; do
|
||||
for i in 1 2 3; do
|
||||
if brew update && brew install automake libtool; then
|
||||
if brew install automake libtool; then
|
||||
break 2
|
||||
else
|
||||
echo "Error: wait to try again: $i"
|
||||
|
|
|
|||
1
.github/workflows/linux.yml
vendored
1
.github/workflows/linux.yml
vendored
|
|
@ -473,7 +473,6 @@ jobs:
|
|||
${INSTALL_PACKAGES} \
|
||||
${MATRIX_INSTALL_PACKAGES}
|
||||
if [ -n "${INSTALL_PACKAGES_BREW}" ]; then
|
||||
/home/linuxbrew/.linuxbrew/bin/brew update
|
||||
/home/linuxbrew/.linuxbrew/bin/brew install ${INSTALL_PACKAGES_BREW}
|
||||
fi
|
||||
# Workaround for ubuntu-24.04-arm images having 0777 for /home/runner,
|
||||
|
|
|
|||
6
.github/workflows/macos.yml
vendored
6
.github/workflows/macos.yml
vendored
|
|
@ -91,7 +91,7 @@ jobs:
|
|||
# shellcheck disable=SC2181
|
||||
while [[ $? == 0 ]]; do
|
||||
for i in 1 2 3; do
|
||||
if brew update && brew install automake libtool; then
|
||||
if brew install automake libtool; then
|
||||
break 2
|
||||
else
|
||||
echo "Error: wait to try again: $i"
|
||||
|
|
@ -416,7 +416,7 @@ jobs:
|
|||
# shellcheck disable=SC2181
|
||||
while [[ $? == 0 ]]; do
|
||||
for i in 1 2 3; do
|
||||
if brew update && brew install pkgconf libpsl libssh2 ${INSTALL_PACKAGES} ${MATRIX_INSTALL}; then
|
||||
if brew install pkgconf libpsl libssh2 ${INSTALL_PACKAGES} ${MATRIX_INSTALL}; then
|
||||
break 2
|
||||
else
|
||||
echo "Error: wait to try again: $i"
|
||||
|
|
@ -674,7 +674,7 @@ jobs:
|
|||
# shellcheck disable=SC2181
|
||||
while [[ $? == 0 ]]; do
|
||||
for i in 1 2 3; do
|
||||
if brew update && brew install automake libtool; then
|
||||
if brew install automake libtool; then
|
||||
break 2
|
||||
else
|
||||
echo "Error: wait to try again: $i"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue