diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2e820e5b8..2e9d7f2ff 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -665,6 +665,7 @@ jobs: fi - name: Install build dependencies + shell: bash run: | set -euo pipefail apt-get -o Acquire::Retries=4 update diff --git a/scripts/github-workflow-ci.test.cjs b/scripts/github-workflow-ci.test.cjs index 109c48587..ffc17ec59 100644 --- a/scripts/github-workflow-ci.test.cjs +++ b/scripts/github-workflow-ci.test.cjs @@ -192,6 +192,10 @@ test("package downloads use bounded retries and reusable caches", () => { /curl -fsSL --retry 4 --retry-connrefused --connect-timeout 20 --max-time 300/g, ); assert.match(linuxArm64, /apt-get -o Acquire::Retries=4 update/); + assert.match( + linuxArm64, + /name: Install build dependencies\s*\n\s*shell: bash\s*\n\s*run: \|\s*\n\s*set -euo pipefail/, + ); assert.match(linuxArm64, /apt-get -o Acquire::Retries=4 install -y/); assert.match( linuxArm64,