📝 修正代理命令

This commit is contained in:
徐晓伟 2023-12-02 15:17:06 +08:00
parent f18c6c58e5
commit a408baf02b
3 changed files with 4 additions and 4 deletions

View File

@ -31,7 +31,7 @@ workflow:
- cd $WORKSPACE - cd $WORKSPACE
- go version - go version
- go env -w GOPROXY=https://goproxy.cn,direct - go env -w GOPROXY=https://goproxy.cn,direct
#- go env -w GOPROXY=https://mirrors.aliyun.com/goproxy/ #- go env -w GOPROXY=https://mirrors.aliyun.com/goproxy,direct
- go mod download - go mod download
- go test ./... -v - go test ./... -v
- go run main.go - go run main.go

View File

@ -13,7 +13,7 @@ build:golang:1.21:
- echo $CI_JOB_ID - echo $CI_JOB_ID
- go version - go version
- go env -w GOPROXY=https://goproxy.cn,direct - go env -w GOPROXY=https://goproxy.cn,direct
#- go env -w GOPROXY=https://mirrors.aliyun.com/goproxy/ #- go env -w GOPROXY=https://mirrors.aliyun.com/goproxy,direct
- go mod download - go mod download
- go test ./... -v - go test ./... -v
- go run main.go - go run main.go
@ -111,7 +111,7 @@ build:golang:1.21-alpine3.18:
- echo $CI_JOB_ID - echo $CI_JOB_ID
- go version - go version
- go env -w GOPROXY=https://goproxy.cn,direct - go env -w GOPROXY=https://goproxy.cn,direct
#- go env -w GOPROXY=https://mirrors.aliyun.com/goproxy/ #- go env -w GOPROXY=https://mirrors.aliyun.com/goproxy,direct
- go mod download - go mod download
- go test ./... -v - go test ./... -v
- go run main.go - go run main.go

View File

@ -4,7 +4,7 @@
```shell ```shell
go env -w GOPROXY=https://goproxy.cn,direct go env -w GOPROXY=https://goproxy.cn,direct
# go env -w GOPROXY=https://mirrors.aliyun.com/goproxy/ # go env -w GOPROXY=https://mirrors.aliyun.com/goproxy,direct
go get -u github.com/xuxiaowei-com-cn/git-go@main go get -u github.com/xuxiaowei-com-cn/git-go@main
``` ```