act/pkg/runner
Markus Wolf 8a473943c3
fix: skip local actions pre step in any case (#1204)
* fix: skip local actions pre step in any case

We should skip local actions pre step, as it is not supported by github.
In turn we may need to late prepare remote actions which are run
as steps in a local composite action.

Fixes #1193

* test: remove obsolete test case

Since local actions does not run any pre-step anymore we don't test this case.

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-06-08 15:36:08 +00:00
..
res Add super-linter + fix lint issues (#650) 2021-05-03 09:52:03 -07:00
testdata pkg/runner: add support to replace GitHub's env (#1197) 2022-06-08 15:25:51 +00:00
action.go implement pre and post steps (#1089) 2022-05-24 13:36:06 +00:00
action_composite.go implement pre and post steps (#1089) 2022-05-24 13:36:06 +00:00
action_test.go implement pre and post steps (#1089) 2022-05-24 13:36:06 +00:00
command.go implement pre and post steps (#1089) 2022-05-24 13:36:06 +00:00
command_test.go implement pre and post steps (#1089) 2022-05-24 13:36:06 +00:00
container_mock_test.go feat: split job steps into its own files/structs (#1004) 2022-03-22 14:13:00 -07:00
expression.go implement pre and post steps (#1089) 2022-05-24 13:36:06 +00:00
expression_test.go implement pre and post steps (#1089) 2022-05-24 13:36:06 +00:00
job_executor.go feat: handle context cancelation during docker exec (#1170) 2022-05-24 14:52:25 +00:00
job_executor_test.go fix: panic if a step in a job is nil (#1145) 2022-05-12 19:23:34 +00:00
logger.go refactor: remove composite action runcontext workaround (#1085) 2022-05-11 19:06:05 +00:00
run_context.go fix: Remove volume with same name as the container again (#1203) 2022-06-07 14:10:43 +00:00
run_context_test.go implement pre and post steps (#1089) 2022-05-24 13:36:06 +00:00
runner.go pkg/runner: add support to replace GitHub's env (#1197) 2022-06-08 15:25:51 +00:00
runner_test.go pkg/runner: add support to replace GitHub's env (#1197) 2022-06-08 15:25:51 +00:00
step.go implement pre and post steps (#1089) 2022-05-24 13:36:06 +00:00
step_action_local.go fix: skip local actions pre step in any case (#1204) 2022-06-08 15:36:08 +00:00
step_action_local_test.go fix: skip local actions pre step in any case (#1204) 2022-06-08 15:36:08 +00:00
step_action_remote.go fix: skip local actions pre step in any case (#1204) 2022-06-08 15:36:08 +00:00
step_action_remote_test.go implement pre and post steps (#1089) 2022-05-24 13:36:06 +00:00
step_docker.go implement pre and post steps (#1089) 2022-05-24 13:36:06 +00:00
step_docker_test.go feat: split job steps into its own files/structs (#1004) 2022-03-22 14:13:00 -07:00
step_factory.go feat: split job steps into its own files/structs (#1004) 2022-03-22 14:13:00 -07:00
step_factory_test.go feat: split job steps into its own files/structs (#1004) 2022-03-22 14:13:00 -07:00
step_run.go implement pre and post steps (#1089) 2022-05-24 13:36:06 +00:00
step_run_test.go feat: split job steps into its own files/structs (#1004) 2022-03-22 14:13:00 -07:00
step_test.go implement pre and post steps (#1089) 2022-05-24 13:36:06 +00:00