mirror of
https://github.com/curl/curl.git
synced 2026-06-02 04:04:26 +03:00
GHA: tidy up apt commands
- drop `--quiet 2` option where used, to have uniform output. - replace `apt` with `apt-get` in one job. sync options with rest. - replace deprecated `apt-key` command with the alternative recommended by `apt-key(8)`. - drop stray `cd /tmp`, no longer needed after migrating to GHA. - shorten `--option Dpkg::Use-Pty=0` to `-o Dpkg::Use-Pty=0`. - add `-o Dpkg::Use-Pty=0` to hide `apt-get` progress bars taking vertical log space, where missing. - drop `-y --no-install-suggests --no-install-recommends` `apt-get` options. They are the default in the ubuntu-24.04 image. - GHA/distcheck: move `name:` to top in steps where not there. - scripts/cijobs.pl: catch `apt-get` lines with the `-o` option. Closes #16127
This commit is contained in:
parent
11ea10355a
commit
b13e9066b3
10 changed files with 47 additions and 51 deletions
5
.github/workflows/checkdocs.yml
vendored
5
.github/workflows/checkdocs.yml
vendored
|
|
@ -46,9 +46,8 @@ jobs:
|
|||
# - name: install prereqs
|
||||
# run: |
|
||||
# sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list
|
||||
# sudo apt-get update -y
|
||||
# sudo apt-get install -y --no-install-suggests --no-install-recommends \
|
||||
# python3-proselint
|
||||
# sudo apt-get -o Dpkg::Use-Pty=0 update
|
||||
# sudo apt-get -o Dpkg::Use-Pty=0 install python3-proselint
|
||||
#
|
||||
# # config file help: https://github.com/amperser/proselint/
|
||||
# - name: create proselint config
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue