diff options
| author | cl2017 <chenlin.liu@daocloud.io> | 2023-12-08 12:42:57 +0800 |
|---|---|---|
| committer | cl2017 <chenlin.liu@daocloud.io> | 2024-01-16 14:34:29 +0800 |
| commit | fcc5fff3739fa40b17b448c28167e77484a6c522 (patch) | |
| tree | 31e4f915e6eedf34d6fec34d61369ed9b2e780fc /hack/lib | |
| parent | Merge pull request #5290 from cl2017/device_admission (diff) | |
| download | kubeedge-fcc5fff3739fa40b17b448c28167e77484a6c522.tar.gz | |
add lint check for mapper-framework
Signed-off-by: cl2017 <chenlin.liu@daocloud.io>
Diffstat (limited to 'hack/lib')
| -rwxr-xr-x | hack/lib/lint.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hack/lib/lint.sh b/hack/lib/lint.sh index 4cbdc05eb..81033e044 100755 --- a/hack/lib/lint.sh +++ b/hack/lib/lint.sh @@ -76,6 +76,8 @@ kubeedge::lint::check() { GOOS="linux" golangci-lint run -v --timeout=12m # check codes under staging dir, this will also use .golangci.yaml in the {KUBEEDGE_ROOT} dir + echo "check any issue by golangci-lint under staging dir ..." cd "${KUBEEDGE_ROOT}/staging/src/github.com/kubeedge/beehive" && GOOS="linux" golangci-lint run -v --timeout=1m cd "${KUBEEDGE_ROOT}/staging/src/github.com/kubeedge/viaduct" && GOOS="linux" golangci-lint run -v --timeout=1m + cd "${KUBEEDGE_ROOT}/staging/src/github.com/kubeedge/mapper-framework" && GOOS="linux" golangci-lint run -v --timeout=2m } |
