act_runner/pkg/runner/testdata
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
..
actions fix: correctly unmarshal entrypoint (#876) 2021-11-13 19:43:31 +00:00
basic Add proper support for working-directory & fix command builder (#772) 2021-08-10 19:40:20 +00:00
checkout Hotfix: Skip Checkout Regression (#680) 2021-05-10 15:12:57 +00:00
commands Update images, fix extrapath (#723) 2021-06-10 23:12:05 +00:00
container-hostname fix: set `sh` as default shell for containers (#853) 2021-11-03 11:47:47 -07:00
defaults-run
dir with spaces Add proper support for working-directory & fix command builder (#772) 2021-08-10 19:40:20 +00:00
env-and-path Fix regex for GITHUB_ENV parsing (#893) 2021-11-19 17:36:50 +00:00
fail Update images, fix extrapath (#723) 2021-06-10 23:12:05 +00:00
if-expressions fix: continue jobs + steps after failure (#840) 2021-12-08 20:57:42 +00:00
issue-104
issue-122
issue-141
issue-228
issue-597 Fixes Issue #597 (#637) 2021-05-03 09:51:48 -07:00
issue-598 Fixes #598 (#628) 2021-05-05 13:04:03 -07:00
job-container Update images, fix extrapath (#723) 2021-06-10 23:12:05 +00:00
job-container-non-root Update images, fix extrapath (#723) 2021-06-10 23:12:05 +00:00
job-status-check fix: continue jobs + steps after failure (#840) 2021-12-08 20:57:42 +00:00
local-action-docker-url Refactor local, composite actions and run steps (#712) 2021-06-10 15:28:23 +00:00
local-action-dockerfile fix: interpolate env for step actions (#872) 2021-11-12 15:21:18 -08:00
local-action-js Refactor local, composite actions and run steps (#712) 2021-06-10 15:28:23 +00:00
localdockerimagetest_ Fix docker: invalid reference format (#767) 2021-08-09 18:16:31 +00:00
matrix
matrix-include-exclude Fixes include when using matrix and strategy build. (#415) 2020-12-08 10:13:07 -08:00
node
outputs Don't interpolate joboutputs, before job is done (#894) 2021-11-24 15:49:08 +00:00
parallel Read localaction's from container (#719) 2021-08-03 17:39:56 +00:00
pull-request
python
remote-action-docker
remote-action-js
runs-on
secrets
shells fix: rework setupShellCommand (#930) 2021-12-22 06:37:16 +00:00
steps-context Add more steps context support (#887) 2021-11-27 17:55:26 +00:00
uses-and-run-in-one-step fix: return error if both `run:`/`uses:` keys are used (#593) 2021-04-01 11:36:41 -07:00
uses-composite Read localaction's from container (#719) 2021-08-03 17:39:56 +00:00
uses-docker-url Update images, fix extrapath (#723) 2021-06-10 23:12:05 +00:00
uses-github-empty Throw an error if the steps has a invalid uses directive (#500) 2021-01-23 08:07:28 -08:00
uses-github-full-sha refactor: return more errors, add more tests (#679) 2021-05-08 03:29:03 +00:00
uses-github-noref Throw an error if the steps has a invalid uses directive (#500) 2021-01-23 08:07:28 -08:00
uses-github-path Throw an error if the steps has a invalid uses directive (#500) 2021-01-23 08:07:28 -08:00
uses-github-root Throw an error if the steps has a invalid uses directive (#500) 2021-01-23 08:07:28 -08:00
uses-github-short-sha refactor: return more errors, add more tests (#679) 2021-05-08 03:29:03 +00:00
workdir Add proper support for working-directory & fix command builder (#772) 2021-08-10 19:40:20 +00:00