1
0
Fork 0
mirror of https://code.forgejo.org/forgejo/runner.git synced 2025-10-05 19:30:59 +00:00
forgejo-runner/act
Michael Heap 18bc8ff929 Implement UnmarshalYAML for ActionRunsUsing (#223)
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()`
2020-05-04 05:40:11 -07:00
..
common *: update go-git import (#194) 2020-04-16 16:24:30 -07:00
container extract the docker NewClientWithOpts, and add connectionhelper for DOCKER_HOST set to ssh://remote (#207) 2020-05-03 21:15:42 -07:00
model Implement UnmarshalYAML for ActionRunsUsing (#223) 2020-05-04 05:40:11 -07:00
runner Implement UnmarshalYAML for ActionRunsUsing (#223) 2020-05-04 05:40:11 -07:00