feat(cmd/rofl): Add TDX container build support #1144
Annotations
10 errors and 1 warning
Lint Go code:
build/rofl/manifest_test.go#L138
cannot use "no ROFL app manifest found" (constant of type string) as error value in argument to require.ErrorIs: string does not implement error (missing method Error) (typecheck)
|
Lint Go code:
cmd/rofl/build/tdx.go#L367
Error return value of `.Set` is not checked (errcheck)
|
Lint Go code:
cmd/rofl/build/tdx.go#L369
Error return value of `.Set` is not checked (errcheck)
|
Lint Go code:
cmd/rofl/mgmt.go#L258
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
|
Lint Go code:
cmd/rofl/build/tdx.go#L40
var `tdxStorageFlags` is unused (unused)
|
Lint Go code:
cmd/rofl/build/tdx.go#L272
S1039: unnecessary use of fmt.Sprintf (gosimple)
|
Lint Go code:
cmd/rofl/build/tdx.go#L277
S1039: unnecessary use of fmt.Sprintf (gosimple)
|
Lint Go code:
cmd/rofl/mgmt.go#L49
shadow: declaration of "policyFn" shadows declaration at line 29 (govet)
|
Lint Go code:
cmd/rofl/build/container.go#L115
ineffectual assignment to err (ineffassign)
|
Lint Go code
issues found
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading