GCC refactoring #826
lint.yaml
on: pull_request
lint
/
Metadata
13s
lint
/
Go
24s
Annotations
12 errors and 2 warnings
Invalid Go version:
go.mod#L3
Found 1.21. Expected 1.20
|
lint / Metadata
Process completed with exit code 1.
|
lint / Go:
pkg/ccfb/interceptor.go#L136
Error return value of `twccHdrExt.Unmarshal` is not checked (errcheck)
|
lint / Go:
pkg/ccfb/interceptor.go#L139
Error return value of `(github.com/pion/interceptor/pkg/ccfb.history).add` is not checked (errcheck)
|
lint / Go:
pkg/ccfb/interceptor_test.go#L130
Error return value of `pkt.pkt.SetExtension` is not checked (errcheck)
|
lint / Go:
pkg/ccfb/interceptor_test.go#L132
Error return value of `stream.WriteRTP` is not checked (errcheck)
|
lint / Go:
pkg/bwe/delay_rate_controller.go#L46
use of `log.Printf` forbidden by pattern `^log.(Panic|Fatal|Print)(f|ln)?$` (forbidigo)
|
lint / Go:
pkg/bwe/send_side_bwe.go#L74
use of `log.Printf` forbidden by pattern `^log.(Panic|Fatal|Print)(f|ln)?$` (forbidigo)
|
lint / Go:
pkg/ccfb/interceptor.go#L193
use of `panic` forbidden by pattern `^panic$` (forbidigo)
|
lint / Go:
pkg/ccfb/interceptor.go#L198
use of `panic` forbidden by pattern `^panic$` (forbidigo)
|
lint / Go:
pkg/bwe/overuse_detector.go#L72
assignOp: replace `d.delayThreshold = d.delayThreshold + delta*time.Duration(k)*(absEstimate-d.delayThreshold)` with `d.delayThreshold += delta*time.Duration(k)*(absEstimate-d.delayThreshold)` (gocritic)
|
lint / Go:
pkg/ccfb/ccfb_receiver.go#L41
commentFormatting: put a space between `//` and comment text (gocritic)
|
lint / Metadata
Restore cache failed: Dependencies file is not found in /home/runner/work/interceptor/interceptor. Supported file pattern: go.sum
|
lint / Go
Restore cache failed: Dependencies file is not found in /home/runner/work/interceptor/interceptor. Supported file pattern: go.sum
|