CI does extra work by running `sudo apt-get upgrade`
mgree opened this issue · comments
Michael Greenberg commented
The CI workflow file testing the jq
build runs sudo apt-get upgrade
, which can lead to updating irrelevant packages, like firefox.
EDITED TO ADD: https://github.com/jqlang/jq/actions/runs/8252928583?pr=3063 is a run that exhibits the slow behavior.
Mattias Wadman commented
Yeap that seems unnecessary.
@owenthereal was there some special reasons for doing an upgrade?
Emanuele Torre commented
FWIW I have had to re-run a lot of CI jobs in the past two/three days because they were randomly failing on that step:
https://github.com/jqlang/jq/actions/runs/8466407678/job/23195111718