build: update ci settings

This commit is contained in:
Unlock Music Dev
2024-04-24 17:11:40 +08:00
parent bda32bc53e
commit 9c0acb794e
2 changed files with 15 additions and 15 deletions

View File

@@ -24,7 +24,7 @@ local StepGoBuild(GOOS, GOARCH) = {
environment: {
GOOS: GOOS,
GOARCH: GOARCH,
GOPROXY: "https://proxy.golang.org,https://goproxy.io,direct",
GOPROXY: "https://goproxy.io,direct",
},
commands: [
'DIST_DIR=$(mktemp -d)',
@@ -71,7 +71,7 @@ local PipelineBuild(GOOS, GOARCH, RUN_TEST) = {
name: 'go test',
image: 'golang:1.22',
environment: {
GOPROXY: "https://proxy.golang.org,https://goproxy.io,direct",
GOPROXY: "https://goproxy.io,direct",
},
commands: ['go test -v ./...'],
}] else []
@@ -100,7 +100,7 @@ local PipelineRelease() = {
name: 'go test',
image: 'golang:1.22',
environment: {
GOPROXY: "https://proxy.golang.org,https://goproxy.io,direct",
GOPROXY: "https://goproxy.io,direct",
},
commands: ['go test -v ./...'],
},