chore: use new assets file (#1154)

This commit is contained in:
Ludovic Fernandez
2025-02-04 15:15:08 +01:00
committed by GitHub
parent 5421a116d2
commit 1dd93d052e
6 changed files with 38 additions and 9 deletions

View File

@ -91,12 +91,14 @@ export async function goInstall(versionConfig: VersionConfig): Promise<string> {
const options: ExecOptions = { env: { ...process.env, CGO_ENABLED: "1" } }
// TODO(ldez): it should be updated for v2.
const exres = await execShellCommand(
`go install github.com/golangci/golangci-lint/cmd/golangci-lint@${versionConfig.TargetVersion}`,
options
)
printOutput(exres)
// TODO(ldez): it should be updated for v2.
const res = await execShellCommand(
`go install -n github.com/golangci/golangci-lint/cmd/golangci-lint@${versionConfig.TargetVersion}`,
options