This commit is contained in:
parent
2f4c15eb9f
commit
1817acf8dc
@ -4,8 +4,6 @@ name: default
|
|||||||
steps:
|
steps:
|
||||||
- name: linter
|
- name: linter
|
||||||
image: golang:latest
|
image: golang:latest
|
||||||
environment:
|
|
||||||
GOPROXY: https://mirrors.aliyun.com/goproxy/
|
|
||||||
commands:
|
commands:
|
||||||
- go get -u github.com/golangci/golangci-lint/cmd/golangci-lint
|
- go get -u github.com/golangci/golangci-lint/cmd/golangci-lint
|
||||||
- golangci-lint run
|
- golangci-lint run
|
||||||
@ -13,7 +11,6 @@ steps:
|
|||||||
- name: build
|
- name: build
|
||||||
image: golang:latest
|
image: golang:latest
|
||||||
environment:
|
environment:
|
||||||
GOPROXY: https://mirrors.aliyun.com/goproxy/
|
|
||||||
GOOS: linux
|
GOOS: linux
|
||||||
GOARCH: amd64
|
GOARCH: amd64
|
||||||
CGO_ENABLED: 0
|
CGO_ENABLED: 0
|
||||||
|
Loading…
Reference in New Issue
Block a user