Skip to content

Upgrade linters

Upgrade linters #4172

Triggered via pull request January 17, 2025 16:38
Status Failure
Total duration 55s
Artifacts

lint.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
lint / Go: internal/util/util.go#L31
Comment should end in a period (godot)
lint / Go: pkg/media/rtpdump/reader.go#L14
Comment should end in a period (godot)
lint / Go: pkg/media/rtpdump/reader.go#L69
Comment should end in a period (godot)
lint / Go: internal/mux/mux.go#L196
append to slice `pendingPackets` with non-zero initialized length (makezero)
lint / Go: peerconnection.go#L2220
append to slice `closeErrs` with non-zero initialized length (makezero)
lint / Go: peerconnection.go#L2223
append to slice `closeErrs` with non-zero initialized length (makezero)
lint / Go: peerconnection.go#L2236
append to slice `closeErrs` with non-zero initialized length (makezero)
lint / Go: pkg/media/ivfwriter/ivfwriter.go#L156
`if i.isVP8` has complex nested blocks (complexity: 8) (nestif)
lint / Go: peerconnection.go#L1075
`if !weOffer && !detectedPlanB` has complex nested blocks (complexity: 21) (nestif)
lint / Go: peerconnection.go#L652
`if !isPlanB` has complex nested blocks (complexity: 14) (nestif)
lint / Metadata
Restore cache failed: Dependencies file is not found in /home/runner/work/webrtc/webrtc. Supported file pattern: go.sum
lint / Go
Restore cache failed: Dependencies file is not found in /home/runner/work/webrtc/webrtc. Supported file pattern: go.sum