act/pkg
Ryan adabf2a202
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
..
artifacts Asset server implementation (#677) 2021-11-10 09:57:22 -08:00
common fix: continue jobs + steps after failure (#840) 2021-12-08 20:57:42 +00:00
container Docker auth (#891) 2021-11-27 18:21:32 +00:00
model fix: rework setupShellCommand (#930) 2021-12-22 06:37:16 +00:00
runner fix: rework setupShellCommand (#930) 2021-12-22 06:37:16 +00:00