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:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user