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/alertmanager2es
55# Get deps (cached)
66COPY ./go.mod /go/src/github.com/webdevops/alertmanager2es
77COPY ./go.sum /go/src/github.com/webdevops/alertmanager2es
8- RUN go mod download
8+ COPY ./Makefile /go/src/github.com/webdevops/alertmanager2es
9+ RUN make dependencies
910
1011# Compile
1112COPY ./ /go/src/github.com/webdevops/alertmanager2es
Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ lint: $(GOLANGCI_LINT_BIN)
3333 $(GOLANGCI_LINT_BIN ) run -D megacheck -E unused,gosimple,staticcheck --timeout=10m
3434
3535dependencies : $(GOLANGCI_LINT_BIN )
36+ go mod download
3637
3738$(GOLANGCI_LINT_BIN ) :
3839 curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(FIRST_GOPATH ) /bin v1.30.0
You can’t perform that action at this time.
0 commit comments