Skip to content

Deletion of existing sample_builder implementation codes #3493

Deletion of existing sample_builder implementation codes

Deletion of existing sample_builder implementation codes #3493

Triggered via pull request October 10, 2023 11:01
Status Failure
Total duration 1m 28s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

lint.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 4 warnings
Commit message check failed
Limit the subject line to 50 characters
lint / Metadata
Process completed with exit code 1.
lint / Go: pkg/media/samplebuilder/samplebuilder.go#L92
use of `panic` forbidden by pattern `^panic$` (forbidigo)
lint / Go: pkg/media/samplebuilder/samplebuilder.go#L96
use of `panic` forbidden by pattern `^panic$` (forbidigo)
lint / Go: pkg/media/samplebuilder/samplebuilder.go#L102
use of `panic` forbidden by pattern `^panic$` (forbidigo)
lint / Go: pkg/media/samplebuilder/samplebuilder.go#L516
File is not `gofumpt`-ed (gofumpt)
lint / Go: pkg/media/samplebuilder/samplebuilder.go#L181
(*SampleBuilder).release - result 0 (bool) is never used (unparam)
lint / Go: pkg/media/samplebuilder/samplebuilder.go#L211
(*SampleBuilder).drop - result 1 (uint32) is never used (unparam)
lint / Go: pkg/media/samplebuilder/samplebuilder.go#L85
func `(*SampleBuilder).check` is unused (unused)
lint / Go: pkg/media/samplebuilder/samplebuilder.go#L280
assigned to start, but reassigned without using the value (wastedassign)
lint / Go
golangci-lint exit with code 4
lint / Metadata
Restore cache failed: Dependencies file is not found in /home/runner/work/webrtc/webrtc. Supported file pattern: go.sum
lint / Go: pkg/media/samplebuilder/samplebuilder.go#L501
exported: exported function WithMaxTimeDelay should have comment or be unexported (revive)
lint / Go: pkg/media/samplebuilder/samplebuilder.go#L508
exported: exported function WithPacketHeadHandler should have comment or be unexported (revive)
lint / Go: pkg/media/samplebuilder/samplebuilder.go#L514
exported: exported function WithPartitionHeadChecker should have comment or be unexported (revive)