1
0
mirror of https://github.com/taigrr/yq synced 2025-01-18 04:53:17 -08:00

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 \