Skip to content

Allow multiple naming strategies when generating CDI specification #81

Allow multiple naming strategies when generating CDI specification

Allow multiple naming strategies when generating CDI specification #81

Triggered via pull request February 8, 2024 13:07
Status Failure
Total duration 58s
Artifacts

golang.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
Unit test: pkg/nvcdi/lib-csv.go#L34
cannot use (*csvlib)(nil) (value of type *csvlib) as Interface value in variable declaration: *csvlib does not implement Interface (wrong type for method GetGPUDeviceSpecs)
Unit test: pkg/nvcdi/lib-csv.go#L61
l.deviceNamer undefined (type *csvlib has no field or method deviceNamer)
Unit test: pkg/nvcdi/lib.go#L104
cannot use (*csvlib)(l) (value of type *csvlib) as Interface value in assignment: *csvlib does not implement Interface (wrong type for method GetGPUDeviceSpecs)
Unit test
Process completed with exit code 2.
check: cmd/nvidia-ctk/cdi/generate/generate.go#L31
could not import github.com/NVIDIA/nvidia-container-toolkit/pkg/nvcdi (-: # github.com/NVIDIA/nvidia-container-toolkit/pkg/nvcdi
check: internal/modifier/cdi.go#L30
could not import github.com/NVIDIA/nvidia-container-toolkit/pkg/nvcdi (-: # github.com/NVIDIA/nvidia-container-toolkit/pkg/nvcdi
check: pkg/nvcdi/api.go#L1
: # github.com/NVIDIA/nvidia-container-toolkit/pkg/nvcdi [github.com/NVIDIA/nvidia-container-toolkit/pkg/nvcdi.test]
check: tools/container/toolkit/toolkit.go#L34
could not import github.com/NVIDIA/nvidia-container-toolkit/pkg/nvcdi (-: # github.com/NVIDIA/nvidia-container-toolkit/pkg/nvcdi
check
issues found
build
Process completed with exit code 2.
check
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: 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/.