Add github actions #4
Annotations
8 errors and 1 warning
Lint:
cmd/nvidia-mig-parted/assert/assert.go#L106
Error return value of `cli.ShowSubcommandHelp` is not checked (errcheck)
|
Lint:
cmd/nvidia-mig-parted/checkpoint/checkpoint.go#L84
Error return value of `cli.ShowSubcommandHelp` is not checked (errcheck)
|
Lint:
cmd/nvidia-mig-parted/apply/apply.go#L186
Error return value of `cli.ShowSubcommandHelp` is not checked (errcheck)
|
Lint:
cmd/nvidia-mig-parted/export/export.go#L134
Error return value of `w.Write` is not checked (errcheck)
|
Lint:
cmd/nvidia-mig-parted/export/export.go#L140
Error return value of `w.Write` is not checked (errcheck)
|
Lint:
api/hooks/v1/hooks_test.go#L52
Error return value of `io.Copy` is not checked (errcheck)
|
Lint:
pkg/mig/config/config_test.go#L145
SA1019: rand.Seed has been deprecated since Go 1.20 and an alternative has been available since Go 1.0: Programs that call Seed and then expect a specific sequence of results from the global random source (using functions such as Int) can be broken when a dependency changes how much it consumes from the global random source. To avoid such breakages, programs that need a specific result sequence should use NewRand(NewSource(seed)) to obtain a random generator that other packages cannot access. (staticcheck)
|
Lint
issues found
|
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/.
|
The logs for this run have expired and are no longer available.
Loading