Skip to content

Commit

Permalink
Call go mod tidy in the docker file (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
svarogg authored Jun 20, 2021
1 parent 0408d19 commit 8ef7aa6
Show file tree
Hide file tree
Showing 3 changed files with 131 additions and 19 deletions.
2 changes: 2 additions & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ COPY . .
RUN mv go.mod.bu go.mod
RUN mv go.sum.bu go.sum

RUN go mod tidy

# Run linters and tests
RUN GOFMT_RESULT=`go fmt ./...`; echo $GOFMT_RESULT; test -z "$GOFMT_RESULT"
RUN go vet ./...
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ require (
github.com/kaspanet/kaspad v0.11.0
github.com/miekg/dns v1.1.25
github.com/pkg/errors v0.9.1
google.golang.org/grpc v1.33.1
google.golang.org/grpc v1.38.0
)

replace github.com/kaspanet/kaspad => ../kaspad
Loading

0 comments on commit 8ef7aa6

Please sign in to comment.