diff options
Diffstat (limited to 'pkg/runner/action.go')
-rw-r--r-- | pkg/runner/action.go | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/pkg/runner/action.go b/pkg/runner/action.go index fd52c0b..b26e52a 100644 --- a/pkg/runner/action.go +++ b/pkg/runner/action.go @@ -213,14 +213,14 @@ func runActionImpl(step actionStep, actionDir string, remoteAction *remoteAction rc.execJobContainer(execArgs, *step.getEnv(), "", ""), )(ctx) default: - return fmt.Errorf(fmt.Sprintf("The runs.using key must be one of: %v, got %s", []string{ + return fmt.Errorf("The runs.using key must be one of: %v, got %s", []string{ model.ActionRunsUsingDocker, model.ActionRunsUsingNode12, model.ActionRunsUsingNode16, model.ActionRunsUsingNode20, model.ActionRunsUsingComposite, model.ActionRunsUsingGo, - }, action.Runs.Using)) + }, action.Runs.Using) } } } @@ -257,8 +257,6 @@ func removeGitIgnore(ctx context.Context, directory string) error { } // TODO: break out parts of function to reduce complexicity -// -//nolint:gocyclo func execAsDocker(ctx context.Context, step actionStep, actionName string, basedir string, localAction bool) error { logger := common.Logger(ctx) rc := step.getRunContext() |