refactor: share UpdateFromEnv logic (#1457)

* refactor: share UpdateFromEnv logic

* Add test for GITHUB_OUTPUT

Co-authored-by: Ben Randall <veleek@gmail.com>

* Add GITHUB_STATE test

* Add test for the old broken parser

Co-authored-by: Ben Randall <veleek@gmail.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
This commit is contained in:
ChristopherHX
2022-12-06 17:19:27 +01:00
committed by GitHub
parent 4c2524ab4d
commit 57bf4d27a2
7 changed files with 201 additions and 99 deletions

View File

@@ -171,6 +171,9 @@ func TestRunEvent(t *testing.T) {
{workdir, "issue-598", "push", "", platforms},
{workdir, "if-env-act", "push", "", platforms},
{workdir, "env-and-path", "push", "", platforms},
{workdir, "environment-files", "push", "", platforms},
{workdir, "GITHUB_STATE", "push", "", platforms},
{workdir, "environment-files-parser-bug", "push", "", platforms},
{workdir, "non-existent-action", "push", "Job 'nopanic' failed", platforms},
{workdir, "outputs", "push", "", platforms},
{workdir, "networking", "push", "", platforms},