act/pkg/runner
Björn Brauer e4f0080a1e
refactor: extract setupAction into ActionReader (#986)
This change extracts the functionality of reading an `action.y(a)ml` or
creation of a `(Synthetic Action)` into its own type to enable better
unit testing / mocking of those IO operations.

This is done in preparation for the implementation of pre/post action
support in act.

Co-authored-by: Markus Wolf <markus.wolf@new-work.se>

Co-authored-by: Markus Wolf <markus.wolf@new-work.se>
2022-02-08 20:17:59 +00:00
..
res Add super-linter + fix lint issues (#650) 2021-05-03 09:52:03 -07:00
testdata Fix: regression run after failure (#971) 2022-01-27 16:20:44 +00:00
action.go refactor: extract setupAction into ActionReader (#986) 2022-02-08 20:17:59 +00:00
action_test.go refactor: extract setupAction into ActionReader (#986) 2022-02-08 20:17:59 +00:00
command.go fix: ::stop-commands:: should continue to print the lines (#920) 2021-12-09 15:10:56 +00:00
command_test.go refactor: export and move shared contexts into pkg/model (#931) 2021-12-22 19:52:09 +00:00
expression.go Refactor expression evaluator to use parser from actionlint package (#908) 2022-01-21 08:07:20 -08:00
expression_test.go Refactor expression evaluator to use parser from actionlint package (#908) 2022-01-21 08:07:20 -08:00
job_executor.go refactor: extract RunContext Executor in JobExecutor (#984) 2022-02-08 17:22:41 +00:00
job_executor_test.go refactor: extract RunContext Executor in JobExecutor (#984) 2022-02-08 17:22:41 +00:00
logger.go feat: allow existing logger from context (#898) 2021-11-27 17:45:56 +00:00
run_context.go refactor: extract RunContext Executor in JobExecutor (#984) 2022-02-08 17:22:41 +00:00
run_context_test.go Refactor expression evaluator to use parser from actionlint package (#908) 2022-01-21 08:07:20 -08:00
runner.go refactor: export and move shared contexts into pkg/model (#931) 2021-12-22 19:52:09 +00:00
runner_test.go Fix: regression run after failure (#971) 2022-01-27 16:20:44 +00:00
step_context.go refactor: extract setupAction into ActionReader (#986) 2022-02-08 20:17:59 +00:00
step_context_test.go refactor: export and move shared contexts into pkg/model (#931) 2021-12-22 19:52:09 +00:00