Fix comments on StepType enum consts (#304)

This commit is contained in:
Amit Mahbubani 2020-07-13 22:09:23 +05:30 committed by GitHub
parent 7dcd0bc1bb
commit 0b9268ada7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -276,10 +276,10 @@ const (
//StepTypeUsesDockerURL is all steps that have a `uses` that is of the form `docker://...` //StepTypeUsesDockerURL is all steps that have a `uses` that is of the form `docker://...`
StepTypeUsesDockerURL 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 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 StepTypeUsesActionRemote
) )

View file

@ -121,8 +121,8 @@ func TestInterpolate(t *testing.T) {
Workdir: ".", Workdir: ".",
}, },
Env: map[string]string{ Env: map[string]string{
"keywithnothing": "valuewithnothing", "keywithnothing": "valuewithnothing",
"key-with-hyphens": "value-with-hyphens", "key-with-hyphens": "value-with-hyphens",
"key_with_underscores": "value_with_underscores", "key_with_underscores": "value_with_underscores",
}, },
Run: &model.Run{ Run: &model.Run{