Skip to content

Create av1_sample_buffer_support.go #413

Create av1_sample_buffer_support.go

Create av1_sample_buffer_support.go #413

Triggered via pull request April 15, 2024 12:17
Status Failure
Total duration 3m 0s
Artifacts

lint.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 11 warnings
lint / Go: codecs/av1/frame/av1_sample_buffer_support_test.go#L4
File is not `gci`-ed with --skip-generated -s standard -s default (gci)
lint / Go: codecs/av1/frame/av1_sample_buffer_support_test.go#L8
File is not `gci`-ed with --skip-generated -s standard -s default (gci)
lint / Go: codecs/av1/obu/leb128.go#L72
ifElseChain: rewrite if-else to switch statement (gocritic)
lint / Go: codecs/av1/frame/av1_sample_buffer_support.go#L28
File is not `gofumpt`-ed (gofumpt)
lint / Go: codecs/av1/frame/av1_sample_buffer_support.go#L36
File is not `gofumpt`-ed (gofumpt)
lint / Go: codecs/av1/frame/av1_sample_buffer_support_test.go#L51
File is not `gofumpt`-ed (gofumpt)
lint / Go: codecs/av1/frame/av1_sample_buffer_support_test.go#L67
unnecessary leading newline (whitespace)
lint / Go: codecs/av1/frame/av1_sample_buffer_support_test.go#L91
unnecessary leading newline (whitespace)
lint / Go
issues found
lint / Metadata
Restore cache failed: Dependencies file is not found in /home/runner/work/rtp/rtp. Supported file pattern: go.sum
lint / Go: codecs/av1/obu/leb128.go#L71
exported: exported function SizeLeb128 should have comment or be unexported (revive)
lint / Go: codecs/av1/frame/av1_sample_buffer_support_test.go#L73
var-declaration: should drop = 0 from declaration of var seqNo; it is the zero value (revive)
lint / Go: codecs/av1/frame/av1_sample_buffer_support_test.go#L74
var-declaration: should drop = 0 from declaration of var timestamp; it is the zero value (revive)
lint / Go: codecs/av1/frame/av1_sample_buffer_support_test.go#L134
var-declaration: should drop = 0 from declaration of var seqNo; it is the zero value (revive)
lint / Go: codecs/av1/frame/av1_sample_buffer_support_test.go#L135
var-declaration: should drop = 0 from declaration of var timestamp; it is the zero value (revive)
lint / Go: codecs/av1/frame/av1_sample_buffer_support.go#L8
exported: exported type AV1PacketSampleBufferSupport should have comment or be unexported (revive)
lint / Go: codecs/av1/frame/av1_sample_buffer_support.go#L13
exported: exported method AV1PacketSampleBufferSupport.IsPartitionTail should have comment or be unexported (revive)
lint / Go: codecs/av1/frame/av1_sample_buffer_support.go#L27
exported: exported method AV1PacketSampleBufferSupport.Unmarshal should have comment or be unexported (revive)
lint / Go: codecs/av1/frame/av1_sample_buffer_support.go#L47
var-declaration: should drop = 0 from declaration of var payloadSize; it is the zero value (revive)
lint / Go
Restore cache failed: Dependencies file is not found in /home/runner/work/rtp/rtp. Supported file pattern: go.sum