From 5747fe936b93050e34992ba121cc862c48462eb9 Mon Sep 17 00:00:00 2001 From: Andrew Morgan Date: Wed, 29 May 2019 16:49:46 +0100 Subject: [PATCH] Put it in the command :( --- .buildkite/pipeline.yaml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.buildkite/pipeline.yaml b/.buildkite/pipeline.yaml index a5c795e45..dd99eb0ec 100644 --- a/.buildkite/pipeline.yaml +++ b/.buildkite/pipeline.yaml @@ -28,11 +28,9 @@ steps: image: "golang:1.12" - command: - - "./scripts/find-lint.sh" + # https://github.com/golangci/golangci-lint#memory-usage-of-golangci-lint + - "GOGC=40 ./scripts/find-lint.sh" label: ":lower_left_crayon: Lint / :go: 1.12" - env: - # https://github.com/golangci/golangci-lint#memory-usage-of-golangci-lint - GOGC: 5 plugins: - docker#v3.0.1: image: "golang:1.12"