Skip to content

Correct lint errors #1141

Correct lint errors

Correct lint errors #1141

Triggered via push December 10, 2024 15:33
Status Failure
Total duration 52s
Artifacts

linters.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
Lint: comid/tdx-profile/example_seam_refval_test.go#L82
Error return value is not checked (errcheck)
Lint: comid/tdx-profile/example_seam_refval_test.go#L136
Error return value is not checked (errcheck)
Lint: comid/tdx-profile/example_seam_refval_test.go#L242
Error return value of `val.Extensions.Set` is not checked (errcheck)
Lint: comid/tdx-profile/example_seam_refval_test.go#L303
Error return value is not checked (errcheck)
Lint: comid/tdx-profile/mval_extensions.go#L76
Error return value of `.Extensions.Set` is not checked (errcheck)
Lint: comid/tdx-profile/mval_extensions.go#L63
var-naming: don't use underscores in Go names; func Example_profile_marshal should be ExampleProfileMarshal (revive)
Lint: comid/tdx-profile/types.go#L7
type `teeModel` is unused (unused)
Lint: comid/tdx-profile/types.go#L8
type `teeVendor` is unused (unused)
Lint: comid/tdx-profile/types.go#L24
type `epochExpression` is unused (unused)
Lint: comid/tdx-profile/types.go#L41
type `teeInstanceID` is unused (unused)
Lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636