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.
utACK 8729f4e190a151576c035b709eff686b1b54eda2
needs rebase
See https://github.com/actions/checkout/releases.
This change decreases coupling.
needs rebase
Rebased.
Additionally, the following changes have been made:
actions/checkout version".inputs.command in run-in-docker-action". See: #1756 (review).utACK 15d014804e5927b0f9dd8ed4fdc0be2a45f74e24