From a76b72e6915c3e69c6b312d244b1903547b1b425 Mon Sep 17 00:00:00 2001 From: Chris Warth Date: Wed, 23 Dec 2020 10:58:56 -0800 Subject: [PATCH] find golangci_lint through PATH --- Dockerfile.dev | 1 + scripts/check.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile.dev b/Dockerfile.dev index 00e6a5fc..d094237c 100644 --- a/Dockerfile.dev +++ b/Dockerfile.dev @@ -4,6 +4,7 @@ COPY scripts/devtools.sh /opt/devtools.sh RUN set -e -x \ && /opt/devtools.sh +ENV PATH=/go/bin:$PATH # install mkdocs RUN set -ex \ diff --git a/scripts/check.sh b/scripts/check.sh index 85e743d0..2e2f17dc 100755 --- a/scripts/check.sh +++ b/scripts/check.sh @@ -3,7 +3,7 @@ set -o errexit set -o pipefail -./bin/golangci-lint run --timeout=5m +golangci-lint run --timeout=5m # ./bin/golangci-lint \ # --tests \