Skip to content

Commit f44c1eb

Browse files
Merge #1719: ci: DRY workflow using anchors
15d0148 ci: Drop default for `inputs.command` in `run-in-docker-action` (Hennadii Stepanov) 1decc49 ci: Use YAML anchor and aliases for repeated "CI script" steps (Hennadii Stepanov) dff1bc1 ci, refactor: Generalize use of `matrix.configuration.env_vars` (Hennadii Stepanov) 4b644da ci: Use YAML anchor and aliases for repeated "Print logs" steps (Hennadii Stepanov) a889cd9 ci: Bump `actions/checkout` version (Hennadii Stepanov) 574c2f3 ci: Use YAML anchor and aliases for repeated "Checkout" steps (Hennadii Stepanov) Pull request description: GHA YAML parser now [supports](actions/runner#1182 (comment)) anchors. This PR makes use of that support to [DRY](https://en.wikipedia.org/wiki/Don%27t_repeat_yourself) the workflow code. ACKs for top commit: real-or-random: utACK 15d0148 Tree-SHA512: a25a226fec0053242bc46b8c9815067a35af632cfbffefcc5cd4c96a67c0535dde447753099cbc74ecc64072d36aef2aa78c105b66f43cb3134ffa1ae60dca1e
2 parents a44a339 + 15d0148 commit f44c1eb

File tree

2 files changed

+73
-152
lines changed

2 files changed

+73
-152
lines changed

.github/actions/run-in-docker-action/action.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ inputs:
1010
default: ${{ runner.arch }}
1111
command:
1212
description: 'A command to run in a container'
13-
required: false
14-
default: ./ci/ci.sh
13+
required: true
1514
runs:
1615
using: "composite"
1716
steps:

0 commit comments

Comments
 (0)