cicd: go.mod

This commit is contained in:
jamesread 2022-08-27 13:28:06 +01:00
parent e3a5312614
commit bb67ea58b6
1 changed files with 3 additions and 2 deletions

View File

@ -1,7 +1,8 @@
FROM fedora
RUN dnf install go -y --exclude=iputils
COPY go.mod ./
COPY so.sum ./
RUN pwd
COPY go.mod /
COPY so.sum /
RUN go install "github.com/bufbuild/buf/cmd/buf"
RUN go install "github.com/fzipp/gocyclo/cmd/gocyclo"
RUN go install "github.com/go-critic/go-critic/cmd/gocritic"