🐛 Set asset annotations during cnspec serve. #2459
pr-test-lint.yml
on: push
go-mod
29s
golangci-lint
30s
go-test
1m 57s
Store event file
4s
go-bench
1m 58s
Annotations
15 errors
golangci-lint:
apps/cnspec/cmd/bundle.go#L1
: # go.mondoo.com/cnspec/v10/apps/cnspec/cmd
|
golangci-lint:
apps/cnspec/cmd/scan.go#L231
cannot use func() *inventory.Asset {…} (value of type func() *inventory.Asset) as *inventory.Asset value in argument to inventoryloader.ParseOrUse
|
golangci-lint:
apps/cnspec/cmd/serve.go#L193
cannot use assetFn (variable of type func() *inventory.Asset) as *inventory.Asset value in argument to inventoryloader.ParseOrUse (typecheck)
|
golangci-lint:
apps/cnspec/cnspec.go#L9
could not import go.mondoo.com/cnspec/v10/apps/cnspec/cmd (-: # go.mondoo.com/cnspec/v10/apps/cnspec/cmd
|
golangci-lint:
apps/cnspec/cmd/scan.go#L231
cannot use func() *inventory.Asset {…} (value of type func() *inventory.Asset) as *inventory.Asset value in argument to inventoryloader.ParseOrUse
|
golangci-lint:
apps/cnspec/cmd/serve.go#L193
cannot use assetFn (variable of type func() *inventory.Asset) as *inventory.Asset value in argument to inventoryloader.ParseOrUse) (typecheck)
|
golangci-lint:
apps/gen-docs/main.go#L11
could not import go.mondoo.com/cnspec/v10/apps/cnspec/cmd (-: # go.mondoo.com/cnspec/v10/apps/cnspec/cmd
|
golangci-lint:
apps/cnspec/cmd/scan.go#L231
cannot use func() *inventory.Asset {…} (value of type func() *inventory.Asset) as *inventory.Asset value in argument to inventoryloader.ParseOrUse
|
golangci-lint:
apps/cnspec/cmd/serve.go#L193
cannot use assetFn (variable of type func() *inventory.Asset) as *inventory.Asset value in argument to inventoryloader.ParseOrUse) (typecheck)
|
golangci-lint:
test/cli/cli_test.go#L14
could not import go.mondoo.com/cnspec/v10/apps/cnspec/cmd (-: # go.mondoo.com/cnspec/v10/apps/cnspec/cmd
|
go-test:
apps/cnspec/cmd/scan.go#L231
cannot use func() *inventory.Asset {…} (value of type func() *inventory.Asset) as *inventory.Asset value in argument to inventoryloader.ParseOrUse
|
go-test:
apps/cnspec/cmd/serve.go#L193
cannot use assetFn (variable of type func() *inventory.Asset) as *inventory.Asset value in argument to inventoryloader.ParseOrUse
|
go-test:
apps/cnspec/cmd/scan.go#L231
cannot use func() *inventory.Asset {…} (value of type func() *inventory.Asset) as *inventory.Asset value in argument to inventoryloader.ParseOrUse
|
go-test:
apps/cnspec/cmd/serve.go#L193
cannot use assetFn (variable of type func() *inventory.Asset) as *inventory.Asset value in argument to inventoryloader.ParseOrUse
|
go-test
Process completed with exit code 2.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
Event File
Expired
|
2.15 KB |
|
test-results
Expired
|
4.05 KB |
|