Logo
Explore Help
Sign In
mirrors/ceph-csi
1
0
Fork 0
You've already forked ceph-csi
mirror of https://github.com/ceph/ceph-csi.git synced 2025-05-21 06:46:42 +00:00
Code Issues Packages Projects Releases Wiki Activity
ceph-csi/scripts/lint-go.sh

10 lines
212 B
Bash
Raw Permalink Normal View History

Add static check tools Added md check to check .md style Add yamllint to check yaml style Moved gometalinter to scripts folder Signed-off-by: Madhu Rajanna <mrajanna@redhat.com>
2019-02-07 15:26:39 +05:30
#!/bin/bash
set -o pipefail
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 09:16:31 +05:30
if [[ -x "$(command -v golangci-lint)" ]]; then
golangci-lint --config=scripts/golangci.yml run ./... -v
Add static check tools Added md check to check .md style Add yamllint to check yaml style Moved gometalinter to scripts folder Signed-off-by: Madhu Rajanna <mrajanna@redhat.com>
2019-02-07 15:26:39 +05:30
else
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 09:16:31 +05:30
echo "WARNING: golangci-lint not found, skipping lint tests" >&2
Add static check tools Added md check to check .md style Add yamllint to check yaml style Moved gometalinter to scripts folder Signed-off-by: Madhu Rajanna <mrajanna@redhat.com>
2019-02-07 15:26:39 +05:30
fi
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 54ms Template: 0ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API