scripts/check works for local and docker build

This commit is contained in:
Mike Farah 2020-12-30 10:40:41 +11:00
parent a76b72e691
commit 1b887e23b3

View File

@ -3,7 +3,12 @@
set -o errexit
set -o pipefail
golangci-lint run --timeout=5m
if command -v golangci-lint &> /dev/null
then
golangci-lint run --timeout=5m
else
./bin/golangci-lint run --timeout=5m
fi
# ./bin/golangci-lint \
# --tests \