mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-22 06:10:22 +00:00
1018eda27a
gometalinter is being deprecated in favor of golangci. switching to golangci in ci and make test Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
10 lines
212 B
Bash
Executable File
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
|