GHA YAML parser now supports anchors.
This PR makes use of that support to DRY the workflow code.
Concept ACK
These files will always be a bit of a mess but this is already much better.
132@@ -130,6 +133,8 @@ jobs:
133 strategy:
134 fail-fast: false
135 matrix:
136+ configuration:
137+ - env_vars: {}
Adding an empty matrix configuration with just ’env_vars: {}’ appears to serve no functional purpose for the i686_debian job. This adds unnecessary complexity without providing the matrix benefits that other jobs use.
173
174+ strategy:
175+ matrix:
176+ configuration:
177+ - env_vars: {}
178+
Adding an empty matrix configuration with just ’env_vars: {}’ appears to serve no functional purpose for the s390x_debian job. This adds unnecessary complexity without providing the matrix benefits that other jobs use.
This PR introduces YAML anchors to reduce code duplication in the GitHub Actions CI workflow. The changes leverage GitHub Actions’ newly added support for YAML anchors to implement the DRY (Don’t Repeat Yourself) principle across multiple CI jobs.
261
262+ strategy:
263+ matrix:
264+ configuration:
265+ - env_vars: {}
266+
Adding an empty matrix configuration with just ’env_vars: {}’ appears to serve no functional purpose for the ppc64le_debian job. This adds unnecessary complexity without providing the matrix benefits that other jobs use.
615@@ -686,6 +616,11 @@ jobs:
616 runs-on: ubuntu-latest
617 needs: docker_cache
618
619+ strategy:
620+ matrix:
621+ configuration:
622+ - env_vars: {}
623+
Adding an empty matrix configuration with just ’env_vars: {}’ appears to serve no functional purpose for the cpp_gcc_debian job. This adds unnecessary complexity without providing the matrix benefits that other jobs use.
hebasto
real-or-random
Copilot
Labels
ci
tweak/refactor