1
0
Fork 0
mirror of https://code.forgejo.org/forgejo/runner.git synced 2025-09-15 18:57:01 +00:00
Forgejo runner - alpha release, should not be considered secure enough to deploy in production
Find a file
Ryan 06ef9ae6fe fix: rework setupShellCommand (#930)
* fix: rework `setupShellCommand`

* move all logic to separate function so we can test that later
* split `step.Shell` and `step.WorkingDirectory` setup into own funcs
* general cleanup of function
* use `ActPath` to not collide with checked out repository
* use `shellquote.Split()` instead of `strings.Fields()` for better command split
* replace single string concat with `fmt`

Signed-off-by: hackercat <me@hackerc.at>

* lint(editorconfig): ignore *_test.go due to mixed style

Signed-off-by: hackercat <me@hackerc.at>
2021-12-22 06:37:16 +00:00
.github Fix and test choco action (#911) 2021-12-08 10:49:33 -08:00
act fix: rework setupShellCommand (#930) 2021-12-22 06:37:16 +00:00
cmd fix: clarify --reuse and --rm flags (#929) 2021-12-16 05:11:56 +00:00
main.go Initial commit with support for GitHub actions 2019-01-12 20:45:25 -08:00