Use GOFLAGS for vendoring params
This commit is contained in:
parent
2ee457f768
commit
32b9ab8019
@ -6,8 +6,12 @@ steps:
|
|||||||
- name: test
|
- name: test
|
||||||
image: fat0troll/tdlib-golangci
|
image: fat0troll/tdlib-golangci
|
||||||
commands:
|
commands:
|
||||||
- go test -mod=vendor -test.v -cover `go list ./... | grep -v examples | grep -v internal`
|
- go test -test.v -cover `go list ./... | grep -v examples | grep -v internal`
|
||||||
|
environment:
|
||||||
|
- GOFLAGS=-mod=vendor
|
||||||
- name: lint
|
- name: lint
|
||||||
image: fat0troll/tdlib-golangci
|
image: fat0troll/tdlib-golangci
|
||||||
commands:
|
commands:
|
||||||
- golangci-lint -v run
|
- golangci-lint -v run
|
||||||
|
environment:
|
||||||
|
- GOFLAGS=-mod=vendor
|
Reference in New Issue
Block a user