Update CI configs to v0.11.1 #275
lint.yaml
on: pull_request
lint
/
Metadata
9s
lint
/
Go
1m 46s
Annotations
11 errors and 10 warnings
Invalid Go version:
go.mod#L3
Found 1.13. Expected 1.19
|
lint / Go:
c-data-channels/bridge.go#L93
Error return value of `dc.SendText` is not checked (errcheck)
|
lint / Go:
sip-over-websocket-to-webrtc/softphone/inboundcall.go#L25
use of `log.Panic` forbidden by pattern `^log.(Panic|Fatal|Print)(f|ln)?$` (forbidigo)
|
lint / Go:
sip-over-websocket-to-webrtc/softphone/register.go#L26
use of `log.Fatal` forbidden by pattern `^log.(Panic|Fatal|Print)(f|ln)?$` (forbidigo)
|
lint / Go:
sip-over-websocket-to-webrtc/softphone/register.go#L35
use of `log.Fatal` forbidden by pattern `^log.(Panic|Fatal|Print)(f|ln)?$` (forbidigo)
|
lint / Go:
sip-over-websocket-to-webrtc/softphone/softphone.go#L71
use of `log.Fatal` forbidden by pattern `^log.(Panic|Fatal|Print)(f|ln)?$` (forbidigo)
|
lint / Go:
sip-over-websocket-to-webrtc/softphone/softphone.go#L76
use of `log.Print` forbidden by pattern `^log.(Panic|Fatal|Print)(f|ln)?$` (forbidigo)
|
lint / Go:
internal/signal/http.go#L29
use of `panic` forbidden by pattern `^panic$` (forbidigo)
|
lint / Go:
internal/signal/signal.go#L34
use of `panic` forbidden by pattern `^panic$` (forbidigo)
|
lint / Go:
internal/signal/signal.go#L43
use of `fmt.Println` forbidden by pattern `^fmt.Print(f|ln)?$` (forbidigo)
|
lint / Go:
internal/signal/signal.go#L53
use of `panic` forbidden by pattern `^panic$` (forbidigo)
|
lint / Metadata
Restore cache failed: Dependencies file is not found in /home/runner/work/example-webrtc-applications/example-webrtc-applications. Supported file pattern: go.sum
|
lint / Go:
examples.go#L4
package-comments: should have a package comment (revive)
|
lint / Go:
snapshot/main.go#L113
unused-parameter: parameter 'r' seems to be unused, consider removing or renaming it as _ (revive)
|
lint / Go:
snapshot/main.go#L4
package-comments: should have a package comment (revive)
|
lint / Go:
unreal-pixel-streaming/main.go#L4
package-comments: should have a package comment (revive)
|
lint / Go:
c-data-channels/bridge.go#L49
exported: comment on exported function GoRun should be of the form "GoRun ..." (revive)
|
lint / Go:
c-data-channels/bridge.go#L61
exported: comment on exported function GoOnOpen should be of the form "GoOnOpen ..." (revive)
|
lint / Go:
c-data-channels/bridge.go#L70
exported: comment on exported function GoOnMessage should be of the form "GoOnMessage ..." (revive)
|
lint / Go:
c-data-channels/bridge.go#L90
exported: comment on exported function GoSendText should be of the form "GoSendText ..." (revive)
|
lint / Go:
c-data-channels/bridge.go#L96
exported: comment on exported function GoLabel should be of the form "GoLabel ..." (revive)
|