From c4e225b00768b903831f91b71b1eb6a32ea3e348 Mon Sep 17 00:00:00 2001 From: Rootiest Date: Fri, 21 Aug 2026 00:54:54 -0400 Subject: [PATCH] fix(ci): retry apt-get update and skip recommended packages Two more sources of CI noise/fragility alongside the debconf frontend fix: fish's install pulls in man-db/groff-base/xsel as recommends, triggering a slow mandb rebuild for tooling nothing here uses; --no-install-recommends skips that. apt-get update had no retry policy, so a transient blip against the PPA mirror failed the whole job; -o Acquire::Retries=3 gives it a few chances first. --- .github/workflows/ci.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c809a12..0483788 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,11 +29,11 @@ jobs: - name: Install fish run: | - sudo apt-get update -qq - sudo DEBIAN_FRONTEND=noninteractive apt-get install -y software-properties-common + sudo apt-get -o Acquire::Retries=3 update -qq + sudo DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y software-properties-common sudo add-apt-repository -y ppa:fish-shell/release-4 - sudo apt-get update -qq - sudo DEBIAN_FRONTEND=noninteractive apt-get install -y fish + sudo apt-get -o Acquire::Retries=3 update -qq + sudo DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y fish - name: Run fish config tests run: fish tests/run-tests.fish @@ -49,11 +49,11 @@ jobs: - name: Install dependencies run: | - sudo apt-get update -qq - sudo DEBIAN_FRONTEND=noninteractive apt-get install -y software-properties-common + sudo apt-get -o Acquire::Retries=3 update -qq + sudo DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y software-properties-common sudo add-apt-repository -y ppa:fish-shell/release-4 - sudo apt-get update -qq - sudo DEBIAN_FRONTEND=noninteractive apt-get install -y pandoc python3-yaml fish + sudo apt-get -o Acquire::Retries=3 update -qq + sudo DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y pandoc python3-yaml fish - name: Generate concatenated markdown run: python3 docs/build-manual.py --concat -o docs/fish-config.md