GHA: use --no-install-suggests --no-install-recommends where missing

It prevents `apt-get install` commands installing unnecessary packages.

Makes the 8 HTTP/3 jobs around 30 seconds faster each.

before: https://github.com/curl/curl/actions/runs/11466168597
after:  https://github.com/curl/curl/actions/runs/11469013245?pr=15373

Closes #15373
This commit is contained in:
Viktor Szakats 2024-10-22 22:44:44 +02:00
parent 0e18bd3940
commit b327a53f09
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201
3 changed files with 9 additions and 5 deletions

View file

@ -42,7 +42,8 @@ jobs:
# - name: install prereqs
# run: |
# sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list
# sudo apt-get install python3-proselint
# sudo apt-get install -y --no-install-suggests --no-install-recommends \
# python3-proselint
#
# # config file help: https://github.com/amperser/proselint/
# - name: create proselint config