File tree Expand file tree Collapse file tree 3 files changed +30
-28
lines changed Expand file tree Collapse file tree 3 files changed +30
-28
lines changed Original file line number Diff line number Diff line change 1+ run :
2+ deadline : 5m
3+
4+ linters :
5+ disable-all : true
6+ enable :
7+ - dupl
8+ - goconst
9+ - gocyclo
10+ - gofmt
11+ - golint
12+ - govet
13+ - ineffassign
14+ - interfacer
15+ - lll
16+ - misspell
17+ - nakedret
18+ - structcheck
19+ - unparam
20+ - varcheck
21+
22+ linters-settings :
23+ dupl :
24+ threshold : 400
25+ lll :
26+ line-length : 170
27+ golint :
28+ min-confidence : 0.85
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -76,16 +76,15 @@ tasks:
7676 - /bin/bash
7777 - ' -c'
7878 - |
79+ curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $GOPATH/bin v1.12.3 &&
7980 mkdir -p /go/src/github.com/taskcluster/taskcluster-lib-urls
8081 cd /go/src/github.com/taskcluster/taskcluster-lib-urls
8182 git clone {{event.head.repo.url}} .
8283 git config advice.detachedHead false
8384 git checkout {{event.head.sha}}
8485 go get -v -d -t ./...
8586 go test -v -race ./...
86- go get -u github.com/alecthomas/gometalinter
87- gometalinter --install
88- gometalinter
87+ golangci-lint run
8988 metadata :
9089 name : " taskcluster-lib-urls go test"
9190 description : Run library test suite - golang 1.10
You can’t perform that action at this time.
0 commit comments