1
0
mirror of https://github.com/taigrr/yq synced 2026-04-02 11:48:47 -07:00
Files
yq/scripts/check.sh
Mike Farah b2186d5404 Added gosec
2021-03-03 19:44:34 +11:00

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