mirror of
https://github.com/mikefarah/yq.git
synced 2024-12-19 20:19:04 +00:00
scripts/check works for local and docker build
This commit is contained in:
parent
a76b72e691
commit
1b887e23b3
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user