cicd: go.mod needed for go install

This commit is contained in:
jamesread 2022-08-27 13:25:32 +01:00
parent adbed0d037
commit e3a5312614
1 changed files with 2 additions and 0 deletions

View File

@ -1,5 +1,7 @@
FROM fedora
RUN dnf install go -y --exclude=iputils
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"