Skip to content

Commit 51ee92e

Browse files
author
lijianguo
committed
chore(pkg): upgrade go.mod (k8s api;etcd clientv3) fix conflict
1 parent 3705499 commit 51ee92e

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

Makefile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# - Docker image name
44
# - Kubernetes service, rc, pod, secret, volume names
55
REPO_PATH := github.com/drycc/pkg
6-
DEV_ENV_IMAGE := golang:1.14
6+
DEV_ENV_IMAGE := drycc/go-dev
77
DEV_ENV_WORK_DIR := /go/src/${REPO_PATH}
88

99
# Enable vendor/ directory support.
@@ -26,7 +26,11 @@ all: build test
2626

2727
build:
2828
${DEV_ENV_CMD} go build ${PKG_DIRS}
29-
test: build
29+
30+
test: build test-style
3031
${DEV_ENV_CMD} go test ${PKG_DIRS}
3132

33+
test-style: bootstrap
34+
${DEV_ENV_CMD} lint --deadline
35+
3236
.PHONY: all build test

0 commit comments

Comments
 (0)