act/pkg/runner
hackercat 4125812a63
Refactor .actrc locations and default image survey (#600)
* refactor: move survey/cfgs into own funcs, read XDG base dirs for config

Moved actrc locations to own func since it can be reused.
Moved survey part to own func due to high cyclomatic complexity.
Added XDG config dir to config locations.
Replaced using HOME envvar with go-homedir module since it's already
an indirect dependency and handles home directories better
for each GOOS.

* refactor: use `go-homedir`, check if XDG var is not empty
2021-04-05 08:51:13 -07:00
..
res Support running commands in repositories without action.yaml (#293) 2021-03-30 12:26:25 -07:00
testdata Add support for composite actions (#514) 2021-04-02 13:40:44 -07:00
command.go Add support for composite actions (#514) 2021-04-02 13:40:44 -07:00
command_test.go GitHub env file support (#426) 2021-01-11 22:39:43 -08:00
expression.go Fix tests on Windows (#562) 2021-03-12 16:23:03 -08:00
expression_test.go Support running commands in repositories without action.yaml (#293) 2021-03-30 12:26:25 -07:00
logger.go GitHub env file support (#426) 2021-01-11 22:39:43 -08:00
run_context.go Refactor .actrc locations and default image survey (#600) 2021-04-05 08:51:13 -07:00
run_context_test.go Support running commands in repositories without action.yaml (#293) 2021-03-30 12:26:25 -07:00
runner.go Support running commands in repositories without action.yaml (#293) 2021-03-30 12:26:25 -07:00
runner_test.go Add support for composite actions (#514) 2021-04-02 13:40:44 -07:00
step_context.go Add support for composite actions (#514) 2021-04-02 13:40:44 -07:00
step_context_test.go fix: return error if both run:/uses: keys are used (#593) 2021-04-01 11:36:41 -07:00