From 922820f56e704f6c97dcf7cb516e9be84e1135e7 Mon Sep 17 00:00:00 2001 From: Amit Mahbubani Date: Mon, 13 Jul 2020 22:09:23 +0530 Subject: [PATCH] Fix comments on StepType enum consts (#304) --- act/model/workflow.go | 4 ++-- act/runner/expression_test.go | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/act/model/workflow.go b/act/model/workflow.go index b51a59d7..273789b8 100644 --- a/act/model/workflow.go +++ b/act/model/workflow.go @@ -276,10 +276,10 @@ const ( //StepTypeUsesDockerURL is all steps that have a `uses` that is of the form `docker://...` StepTypeUsesDockerURL - //StepTypeUsesActionLocal is all steps that have a `uses` that is a reference to a github repo + //StepTypeUsesActionLocal is all steps that have a `uses` that is a local action in a subdirectory StepTypeUsesActionLocal - //StepTypeUsesActionRemote is all steps that have a `uses` that is a local action in a subdirectory + //StepTypeUsesActionRemote is all steps that have a `uses` that is a reference to a github repo StepTypeUsesActionRemote ) diff --git a/act/runner/expression_test.go b/act/runner/expression_test.go index 76c02f5d..36d1bb52 100644 --- a/act/runner/expression_test.go +++ b/act/runner/expression_test.go @@ -121,8 +121,8 @@ func TestInterpolate(t *testing.T) { Workdir: ".", }, Env: map[string]string{ - "keywithnothing": "valuewithnothing", - "key-with-hyphens": "value-with-hyphens", + "keywithnothing": "valuewithnothing", + "key-with-hyphens": "value-with-hyphens", "key_with_underscores": "value_with_underscores", }, Run: &model.Run{