find golangci_lint through PATH

This commit is contained in:
Chris Warth
2020-12-30 10:30:53 +11:00
committed by Mike Farah
parent 9509831cff
commit a76b72e691
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -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 \
+1 -1
View File
@@ -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 \