Skip to content

fix unix test compiling failed on MAC M1 #523

fix unix test compiling failed on MAC M1

fix unix test compiling failed on MAC M1 #523

Triggered via pull request August 24, 2023 04:22
Status Success
Total duration 1m 3s
Artifacts

code.yaml

on: pull_request
Code Lint
54s
Code Lint
Fit to window
Zoom out
Zoom in

Annotations

11 warnings
Code Lint: metric/prometheus.go#L211
exported function AddConstLabels should have comment or be unexported
Code Lint: metric/prometheus.go#L121
should omit 2nd value from range; this loop is equivalent to `for k := range ...`
Code Lint: notify/telegram/telegram.go#L71
parameter 'title' seems to be unused, consider removing or renaming it as _
Code Lint: notify/log/log.go#L79
parameter 'title' seems to be unused, consider removing or renaming it as _
Code Lint: notify/shell/shell.go#L58
parameter 'title' seems to be unused, consider removing or renaming it as _
Code Lint: notify/sms/nexmo/nexmo.go#L45
parameter 'title' seems to be unused, consider removing or renaming it as _
Code Lint: notify/sms/yunpian/yunpian.go#L45
parameter 'title' seems to be unused, consider removing or renaming it as _
Code Lint: notify/slack/slack.go#L50
parameter 'title' seems to be unused, consider removing or renaming it as _
Code Lint: notify/sms/twilio/twilio.go#L45
parameter 'title' seems to be unused, consider removing or renaming it as _
Code Lint: notify/wecom/wecom.go#L50
parameter 'title' seems to be unused, consider removing or renaming it as _
Code Lint
Restore cache failed: Dependencies file is not found in /home/runner/work/easeprobe/easeprobe. Supported file pattern: go.sum