mirror of
https://github.com/taigrr/yq
synced 2025-01-18 04:53:17 -08:00
13 lines
174 B
Bash
Executable File
13 lines
174 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
|
|
|