mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-30 00:40:21 +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
|