Skip to content

Add github actions

Add github actions #2

Triggered via pull request January 28, 2024 11:28
Status Failure
Total duration 1m 20s
Artifacts

golang.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 1 warning
check: cmd/nvidia-mig-parted/checkpoint/checkpoint.go#L84
Error return value of `cli.ShowSubcommandHelp` is not checked (errcheck)
check: cmd/nvidia-mig-parted/assert/assert.go#L106
Error return value of `cli.ShowSubcommandHelp` is not checked (errcheck)
check: cmd/nvidia-mig-parted/apply/apply.go#L186
Error return value of `cli.ShowSubcommandHelp` is not checked (errcheck)
check: cmd/nvidia-mig-parted/export/export.go#L134
Error return value of `w.Write` is not checked (errcheck)
check: cmd/nvidia-mig-parted/export/export.go#L140
Error return value of `w.Write` is not checked (errcheck)
check: api/hooks/v1/hooks_test.go#L52
Error return value of `io.Copy` is not checked (errcheck)
check: 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)
check
issues found
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/.