Skip to content

Update linter.yml

Update linter.yml #24

Triggered via push February 6, 2025 19:59
Status Failure
Total duration 1m 51s
Artifacts

test.yml

on: push
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

1 error and 11 warnings
test (1.23.x, ubuntu-latest)
Process completed with exit code 2.
test (1.23.x, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/linuxptp-daemon/linuxptp-daemon. Supported file pattern: go.sum
test (1.23.x, ubuntu-latest): addons/mapping.go#L1
should have a package comment
test (1.23.x, ubuntu-latest): addons/mapping.go#L9
exported var PluginMapping should have comment or be unexported
test (1.23.x, ubuntu-latest): addons/generic/generic.go#L15
should drop = "" from declaration of var pluginOpts; it is the zero value
test (1.23.x, ubuntu-latest): addons/generic/generic.go#L29
should omit type *GenericPluginData from declaration of var pluginData; it will be inferred from the right-hand side
test (1.23.x, ubuntu-latest): addons/generic/generic.go#L40
should drop = "" from declaration of var referenceString; it is the zero value
test (1.23.x, ubuntu-latest): addons/generic/generic.go#L43
should omit type *GenericPluginData from declaration of var pluginData; it will be inferred from the right-hand side
test (1.23.x, ubuntu-latest): addons/generic/generic.go#L58
should drop = "" from declaration of var pluginOpts; it is the zero value
test (1.23.x, ubuntu-latest): addons/generic/generic.go#L82
should drop = "" from declaration of var referenceString; it is the zero value
test (1.23.x, ubuntu-latest): addons/generic/generic.go#L1
should have a package comment
test (1.23.x, ubuntu-latest): addons/generic/generic.go#L57
parameter 'data' seems to be unused, consider removing or renaming it as _