This repository has been archived by the owner on Mar 24, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
reduce memory pressure by reducing golangci-lint parallelism in ci
seperate 'lint' and 'test' CI steps 'go test' and 'go build' should use files from the 'vendor' folder pact tests should use go modules use vendor in 'go vet' run golangci-lint on each subdir in pkg individually in ci skip running golangci-lint on integration tests go-bindata and go-modules do not get along
- Loading branch information
Showing
7 changed files
with
77 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,7 @@ | ||
#!/bin/sh | ||
set -v | ||
|
||
go get -u golang.org/x/tools/cmd/goimports | ||
go get -u golang.org/x/lint/golint | ||
go get github.com/golang/mock/gomock | ||
go install github.com/golang/mock/mockgen | ||
go get github.com/elazarl/go-bindata-assetfs/go-bindata-assetfs | ||
go get -u github.com/jteeuwen/go-bindata/go-bindata | ||
go get -u github.com/gordonklaus/ineffassign | ||
go get github.com/golangci/golangci-lint/cmd/golangci-lint@v1.17.1 | ||
|
||
GO111MODULE=auto go get -u github.com/jteeuwen/go-bindata/go-bindata |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/bin/sh | ||
set -v | ||
|
||
go get -u golang.org/x/tools/cmd/goimports | ||
go get -u golang.org/x/lint/golint | ||
go get github.com/golangci/golangci-lint/cmd/golangci-lint@v1.17.1 |