Skip to content

Replace please with Makefile #275

Replace please with Makefile

Replace please with Makefile #275

Triggered via pull request February 14, 2024 17:21
Status Failure
Total duration 3m 32s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
Lint: components/producers/typescript-npm-audit/types/npmquickaudit/npmquickaudit.go#L130
type switch on error will fail on wrapped errors. Use errors.As to check for specific errors
Lint: components/producers/typescript-npm-audit/main.go#L29
type switch on error will fail on wrapped errors. Use errors.As to check for specific errors
Lint: components/producers/typescript-npm-audit/types/npmfullaudit/npmfullaudit_test.go#L19
type assertion on error will fail on wrapped errors. Use errors.As to check for specific errors
Lint: components/producers/typescript-npm-audit/types/npmfullaudit/npmfullaudit_test.go#L32
type assertion on error will fail on wrapped errors. Use errors.As to check for specific errors
Lint: components/producers/typescript-npm-audit/types/npmquickaudit/npmquickaudit_test.go#L20
type assertion on error will fail on wrapped errors. Use errors.As to check for specific errors
Lint: components/producers/typescript-npm-audit/types/npmquickaudit/npmquickaudit_test.go#L33
type assertion on error will fail on wrapped errors. Use errors.As to check for specific errors
Lint: components/producers/docker-trivy/main.go#L50
error strings should not be capitalized (ST1005)
Lint: pkg/components/generator/patches/pipelines_test.go#L36
var expectedRes is unused (U1000)
Lint: pkg/components/utils.go#L22
error strings should not end with punctuation or newlines (ST1005)
Lint: pkg/enrichment/db/db.go#L135
error strings should not be capitalized (ST1005)
Lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.