From 822f91464efdd91b500b34b510ef89ca97fc0ae3 Mon Sep 17 00:00:00 2001 From: jrfnl Date: Sun, 26 Jul 2026 18:27:02 +0200 Subject: [PATCH] GH Actions: fail "setup-php" if requested tooling/extensions could not be installed Setup-PHP will normally "gracefully" show a warning and not fail the build when an extension or tool failed to install. In most cases, this is not particularly useful as that means that either there will be a failure later on in the build due to the extension or tool missing, or the build will not be representative of what is supposed to be run/tested. This commit changes this behaviour to fail the build at the `setup-php` step, which also makes debugging these type of build failures much more straight-forward. Ref: https://github.com/shivammathur/setup-php?tab=readme-ov-file#fail-fast-optional --- .github/workflows/docbook-cs.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/docbook-cs.yaml b/.github/workflows/docbook-cs.yaml index 498bb492600a..81fbddfc284f 100644 --- a/.github/workflows/docbook-cs.yaml +++ b/.github/workflows/docbook-cs.yaml @@ -74,6 +74,8 @@ jobs: php-version: "8.5" extensions: "dom, libxml, simplexml" tools: composer, cs2pr + env: + fail-fast: true - name: "Build documentation" run: |