Remove Setup-Go (#403)

* Remove Setup-Go

Signed-off-by: Steve Coffman <steve@khanacademy.org>

* Add setup-go to test github actions

Signed-off-by: Steve Coffman <steve@khanacademy.org>

* Modify README and action.yml per review

Signed-off-by: Steve Coffman <steve@khanacademy.org>

* build dist

Co-authored-by: Sergey Vilgelm <sergey@vilgelm.com>
This commit is contained in:
Steve Coffman
2022-02-24 12:34:23 -05:00
committed by GitHub
parent bcfc6f96bb
commit 423fbafafc
10 changed files with 50269 additions and 49366 deletions

View File

@ -7,7 +7,7 @@ import { dir } from "tmp"
import { promisify } from "util"
import { restoreCache, saveCache } from "./cache"
import { installGo, installLint } from "./install"
import { installLint } from "./install"
import { findLintVersion } from "./version"
const execShellCommand = promisify(exec)
@ -85,11 +85,9 @@ async function prepareEnv(): Promise<Env> {
// Prepare cache, lint and go in parallel.
const restoreCachePromise = restoreCache()
const prepareLintPromise = prepareLint()
const installGoPromise = installGo()
const patchPromise = fetchPatch()
const lintPath = await prepareLintPromise
await installGoPromise
await restoreCachePromise
const patchPath = await patchPromise