Skip to content

added trivy event time #24

added trivy event time

added trivy event time #24

Triggered via pull request April 16, 2024 06:21
Status Failure
Total duration 1m 49s
Artifacts

ci.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
lint: client/pkg/storage/store.go#L87
Error return value of `rows.Scan` is not checked (errcheck)
lint: cmd/cli/config/utils.go#L103
`conection` is a misspelling of `connection` (misspell)
lint: cmd/cli/config/config.go#L8
ST1003: struct field DbPort should be DBPort (stylecheck)
lint: cmd/cli/config/config.go#L13
ST1003: struct field TtlInterval should be TTLInterval (stylecheck)
lint: cmd/cli/config/config.go#L14
ST1003: struct field TtlUnit should be TTLUnit (stylecheck)
lint: pkg/opentelemetry/opentelemetry.go#L90
lostcancel: the cancel function returned by context.WithCancel should be called, not discarded, to avoid a context leak (govet)
lint: pkg/opentelemetry/opentelemetry.go#L15
ST1019: package "go.opentelemetry.io/otel/sdk/trace" is being imported more than once (stylecheck)
lint: pkg/opentelemetry/opentelemetry.go#L16
ST1019(related information): other import of "go.opentelemetry.io/otel/sdk/trace" (stylecheck)
lint: constants/constants.go#L4
ST1003: should not use ALL_CAPS in Go names; use CamelCase instead (stylecheck)
lint: constants/constants.go#L5
ST1003: should not use ALL_CAPS in Go names; use CamelCase instead (stylecheck)
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4, 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/.