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

Lines changed: 2 additions & 1 deletion
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

Lines changed: 1 addition & 7 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy