mirror of https://github.com/status-im/consul.git
build: speed up linting by 1.5x (#12908)
This commit is contained in:
parent
7eda81d00d
commit
d4eef44f49
|
@ -175,7 +175,7 @@ jobs:
|
|||
default: ""
|
||||
docker:
|
||||
- image: *GOLANG_IMAGE
|
||||
resource_class: large
|
||||
resource_class: xlarge
|
||||
environment:
|
||||
GOTAGS: "" # No tags for OSS but there are for enterprise
|
||||
GOARCH: "<<parameters.go-arch>>"
|
||||
|
@ -191,7 +191,7 @@ jobs:
|
|||
- run:
|
||||
name: lint
|
||||
command: &lintcmd |
|
||||
golangci-lint run --build-tags="$GOTAGS" -v --concurrency 2
|
||||
golangci-lint run --build-tags="$GOTAGS" -v
|
||||
- run:
|
||||
name: lint api
|
||||
working_directory: api
|
||||
|
|
|
@ -69,3 +69,4 @@ linters-settings:
|
|||
|
||||
run:
|
||||
timeout: 10m
|
||||
concurrency: 4
|
||||
|
|
Loading…
Reference in New Issue