Use a medium instance for linting

This commit is contained in:
Andrew Morgan 2019-05-29 20:14:43 +01:00
parent 5e4820fe3f
commit e77f3b7146

View file

@ -1,4 +1,17 @@
steps:
- command:
# https://github.com/golangci/golangci-lint#memory-usage-of-golangci-lint
- "GOGC=20 ./scripts/find-lint.sh"
label: "\U0001F9F9 Lint / :go: 1.12"
agents:
# Use a larger instance as linting takes a looot of memory
queue: "medium"
plugins:
- docker#v3.0.1:
image: "golang:1.12"
- wait
- command:
- "go build ./cmd/..."
label: "\U0001F528 Build / :go: 1.11"
@ -34,11 +47,3 @@ steps:
plugins:
- docker#v3.0.1:
image: "golang:1.12"
- command:
# https://github.com/golangci/golangci-lint#memory-usage-of-golangci-lint
- "GOGC=10 ./scripts/find-lint.sh"
label: "\U0001F9F9 Lint / :go: 1.12"
plugins:
- docker#v3.0.1:
image: "golang:1.12"