From 0b9268ada7c3b579348ba4292dd8a2fb8e86256b 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) --- pkg/model/workflow.go | 4 ++-- pkg/runner/expression_test.go | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pkg/model/workflow.go b/pkg/model/workflow.go index b51a59d..273789b 100644 --- a/pkg/model/workflow.go +++ b/pkg/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/pkg/runner/expression_test.go b/pkg/runner/expression_test.go index 76c02f5..36d1bb5 100644 --- a/pkg/runner/expression_test.go +++ b/pkg/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{