File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,8 @@ WORKDIR /go/src/github.com/webdevops/kube-bootstrap-token-manager
5
5
# Get deps (cached)
6
6
COPY ./go.mod /go/src/github.com/webdevops/kube-bootstrap-token-manager
7
7
COPY ./go.sum /go/src/github.com/webdevops/kube-bootstrap-token-manager
8
- RUN go mod download
8
+ COPY ./Makefile /go/src/github.com/webdevops/kube-pool-manager
9
+ RUN make dependencies
9
10
10
11
# Compile
11
12
COPY ./ /go/src/github.com/webdevops/kube-bootstrap-token-manager
Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ lint: $(GOLANGCI_LINT_BIN)
36
36
$(GOLANGCI_LINT_BIN ) run -D megacheck -E unused,gosimple,staticcheck --timeout=10m
37
37
38
38
dependencies : $(GOLANGCI_LINT_BIN )
39
+ go mod download
39
40
40
41
$(GOLANGCI_LINT_BIN ) :
41
42
curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(FIRST_GOPATH ) /bin v1.23.8
You can’t perform that action at this time.
0 commit comments