switch to go install tool #68
Annotations
8 errors and 1 warning
golangci-lint:
pkg/utils/testing.go#L69
filepathJoin: "../../pkg/utils/testdata/pci.ids" contains a path separator (gocritic)
|
golangci-lint:
pkg/infoprovider/vhostNetInfoProvider_test.go#L47
filepathJoin: "/dev/vhost-net" contains a path separator (gocritic)
|
golangci-lint:
pkg/infoprovider/vhostNetInfoProvider_test.go#L48
filepathJoin: "/dev/net/tun" contains a path separator (gocritic)
|
golangci-lint:
pkg/netdevice/pciNetDevice_test.go#L274
filepathJoin: "/dev/vhost-net" contains a path separator (gocritic)
|
golangci-lint:
pkg/netdevice/pciNetDevice_test.go#L275
filepathJoin: "/dev/net/tun" contains a path separator (gocritic)
|
golangci-lint:
pkg/utils/testing.go#L25
cyclomatic complexity 16 of func `(*FakeFilesystem).Use` is high (> 15) (gocyclo)
|
golangci-lint:
pkg/infoprovider/vhostNetInfoProvider_test.go#L21
File is not `goimports`-ed with -local github.com/k8snetworkplumbingwg/sriov-network-device-plugin (goimports)
|
golangci-lint
issues found
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v3, actions/checkout@v3, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Loading