Skip to content

V3: Updated pion modules to latest versions #3815

V3: Updated pion modules to latest versions

V3: Updated pion modules to latest versions #3815

Triggered via pull request July 20, 2024 21:00
Status Failure
Total duration 25s
Artifacts

lint.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 12 warnings
Invalid Go version: go.mod#L3
Found 1.17. Expected 1.19
lint / Metadata
Process completed with exit code 1.
lint / Go: internal/util/util.go#L11
import 'github.com/pion/randutil' is not allowed from list 'Main' (depguard)
lint / Go: pkg/media/h264reader/h264reader_test.go#L11
import 'github.com/stretchr/testify/require' is not allowed from list 'Main' (depguard)
lint / Go: pkg/media/h264reader/h264reader.go#L85
naked return in func `bitStreamStartsWithH264Prefix` with 38 lines of code (nakedret)
lint / Go: pkg/media/media.go#L10
import 'github.com/pion/rtp' is not allowed from list 'Main' (depguard)
lint / Go: examples/internal/signal/rand.go#L6
import 'github.com/pion/randutil' is not allowed from list 'Main' (depguard)
lint / Go: pkg/media/ivfreader/ivfreader_test.go#L11
import 'github.com/stretchr/testify/assert' is not allowed from list 'Main' (depguard)
lint / Go: pkg/media/oggreader/oggreader_test.go#L11
import 'github.com/stretchr/testify/assert' is not allowed from list 'Main' (depguard)
lint / Go: pkg/media/h264writer/h264writer.go#L13
import 'github.com/pion/rtp' is not allowed from list 'Main' (depguard)
lint / Go: pkg/media/h264writer/h264writer.go#L14
import 'github.com/pion/rtp/codecs' is not allowed from list 'Main' (depguard)
lint / Go: pkg/media/h264writer/h264writer_test.go#L11
import 'github.com/pion/rtp' is not allowed from list 'Main' (depguard)
lint / Metadata
Restore cache failed: Dependencies file is not found in /home/runner/work/webrtc/webrtc. Supported file pattern: go.sum
lint / Go: examples/broadcast/main.go#L82
unused-parameter: parameter 'receiver' seems to be unused, consider removing or renaming it as _ (revive)
lint / Go: examples/bandwidth-estimation-from-disk/main.go#L77
unused-parameter: parameter 'id' seems to be unused, consider removing or renaming it as _ (revive)
lint / Go: examples/rtp-forwarder/main.go#L134
unused-parameter: parameter 'receiver' seems to be unused, consider removing or renaming it as _ (revive)
lint / Go: examples/save-to-disk-av1/main.go#L102
unused-parameter: parameter 'receiver' seems to be unused, consider removing or renaming it as _ (revive)
lint / Go: examples/pion-to-pion/answer/main.go#L83
unused-parameter: parameter 'w' seems to be unused, consider removing or renaming it as _ (revive)
lint / Go: examples/pion-to-pion/answer/main.go#L94
unused-parameter: parameter 'w' seems to be unused, consider removing or renaming it as _ (revive)
lint / Go: examples/pion-to-pion/offer/main.go#L83
unused-parameter: parameter 'w' seems to be unused, consider removing or renaming it as _ (revive)
lint / Go: rtpsender.go#L330
unused-parameter: parameter 'attributes' seems to be unused, consider removing or renaming it as _ (revive)
lint / Go: track_local_static_test.go#L152
unused-parameter: parameter 'r' seems to be unused, consider removing or renaming it as _ (revive)
lint / Go: datachannel_test.go#L138
unused-parameter: parameter 'msg' seems to be unused, consider removing or renaming it as _ (revive)
lint / Go
Restore cache failed: Dependencies file is not found in /home/runner/work/webrtc/webrtc. Supported file pattern: go.sum