mirror of https://gitea.com/gitea/act_runner.git
In #222 I added case normalisation to ReadAction() to ensure that Docker and docker are interpreted the same way. I realised that this was being done at the wrong level and required multiple type conversions. By implementing `func (a ActionRunsUsing) UnmarshalYAML` we can lowercase the string as it's being unserialized This has an added benefit that any time this type is hydrated the `runs.using` key will be lowercased, rather than relying on `ReadAction()` |
||
|---|---|---|
| .. | ||
| testdata | ||
| command.go | ||
| command_test.go | ||
| expression.go | ||
| expression_test.go | ||
| logger.go | ||
| run_context.go | ||
| runner.go | ||
| runner_test.go | ||
| step_context.go | ||