mirror of
https://github.com/mikefarah/yq.git
synced 2024-11-15 07:38:14 +00:00
22 lines
357 B
Bash
Executable File
22 lines
357 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -o errexit
|
|
set -o pipefail
|
|
|
|
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 \
|
|
# --vendor \
|
|
# --disable=aligncheck \
|
|
# --disable=gotype \
|
|
# --disable=goconst \
|
|
# --disable=gocyclo \
|
|
# --deadline=300s \
|
|
# ./...
|