ceph-csi/scripts/lint-go.sh
Madhu Rajanna 1018eda27a replace gometalinter with golangci
gometalinter is being deprecated in favor of golangci.
switching to golangci in ci and make test

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
2019-03-04 19:01:16 +05:30

10 lines
212 B
Bash
Executable File

#!/bin/bash
set -o pipefail
if [[ -x "$(command -v golangci-lint)" ]]; then
golangci-lint --config=scripts/golangci.yml run ./... -v
else
echo "WARNING: golangci-lint not found, skipping lint tests" >&2
fi