Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Aug 30, 2024. It is now read-only.
/coder-v1-cliPublic archive

Commitfb195ac

Browse files
committed
fixup! Add golintci and fix errors
1 parent4c51904 commitfb195ac

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)

[8]ページ先頭

©2009-2025 Movatter.jp