Skip to content

Commit b80bb4a

Browse files
committed
feat: add goproxy
1 parent 0a2394d commit b80bb4a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.drone.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,15 @@ kind: pipeline
22
name: lint
33

44
clone:
5-
depth: 50
5+
depth: 1
66

77
steps:
88
- name: testing
99
image: golang:1.12
1010
pull: true
1111
environment:
1212
GO111MODULE: on
13+
GOPROXY: https://proxy.golang.org
1314
commands:
1415
- make vet
1516
- make lint
@@ -26,14 +27,15 @@ kind: pipeline
2627
name: testing
2728

2829
clone:
29-
depth: 50
30+
depth: 1
3031

3132
steps:
3233
- name: testing
3334
image: golang:1.12
3435
pull: true
3536
environment:
3637
GO111MODULE: on
38+
GOPROXY: https://proxy.golang.org
3739
commands:
3840
- make test
3941

0 commit comments

Comments
 (0)