Skip to content
This repository was archived by the owner on Aug 30, 2024. It is now read-only.

Commit fb195ac

Browse files
committed
fixup! Add golintci and fix errors
1 parent 4c51904 commit fb195ac

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

ci/image/Dockerfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@ ENV CI=true
55

66
RUN go get golang.org/x/tools/cmd/goimports
77
RUN go get golang.org/x/lint/golint
8-
RUN go get github.com/mattn/goveralls
8+
RUN go get github.com/mattn/goveralls
9+
RUN go get github.com/golangci/golangci-lint/cmd/golangci-lint@v1.27.0

ci/steps/lint.sh

+1-7
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,4 @@ go vet ./...
1111
golint -set_exit_status ./...
1212

1313
echo "--- golangci-lint"
14-
15-
# Install outside of the repo so the go.mod isn't affected.
16-
pushd "$GOPATH"
17-
go get github.com/golangci/golangci-lint/cmd/golangci-lint@v1.27.0
18-
popd
19-
20-
~/go/bin/golangci-lint run -c .golangci.yml
14+
golangci-lint run -c .golangci.yml

0 commit comments

Comments
 (0)