Four CI jobs fail since ubuntu-latest moved to Ubuntu 26.04.
* documentation, fuzz smoke test and static-analysis fail with ln: failed
to create symbolic link '/usr/bin/dirname': Already exists. Run the ln
with sudo.
* linux32 cannot resolve deb.debian.org. Pin it to ubuntu-24.04. The Docker
update in actions/runner-images#15205 fixes this on 26.04, but a new
runner image will take a long time to roll out, and CI should not stay
broken while we wait.
* Use apt-get in linux32 to get rid of the apt does not have a stable CLI
interface warnings.
The first two are based on Johannes Schindelin's fixes in Git for Windows
(git-for-windows/git#6473).
Harald Nordgren (3):
ci: use apt-get in the linux32 job
install-dependencies: work around a permission problem
ci: pin linux32 to ubuntu-24.04 to restore networking
.github/workflows/main.yml | 6 ++++--
ci/install-dependencies.sh | 2 +-
2 files changed, 5 insertions(+), 3 deletions(-)
base-commit: 50fe5cc63f9cd6e89b87a2c9ccf96a444f4cfdb7
Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-git-2478%2FHaraldNordgren%2Fci-linux32-apt-get-v1
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-git-2478/HaraldNordgren/ci-linux32-apt-get-v1
Pull-Request: https://github.com/git/git/pull/2478
--
gitgitgadget