Skip to content

test: update test case #3

test: update test case

test: update test case #3

Triggered via push July 18, 2024 11:27
Status Failure
Total duration 1m 12s
Artifacts 1

test.yaml

on: push
Golang unit tests
40s
Golang unit tests
Linting
43s
Linting
Build container image
1m 2s
Build container image
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Linting: pkg/telemetry/metrics_server.go#L53
SA1019: prometheus.NewBuildInfoCollector is deprecated: Use collectors.NewBuildInfoCollector instead. (staticcheck)
Linting: pkg/script/matchers.go#L119
comparing with != will fail on wrapped errors. Use errors.Is to check for a specific error (errorlint)
Linting: pkg/script/script.go#L104
type assertion on error will fail on wrapped errors. Use errors.As to check for specific errors (errorlint)
Linting: pkg/script/script.go#L105
comparing with == will fail on wrapped errors. Use errors.Is to check for a specific error (errorlint)
Linting: pkg/script/script.go#L108
type assertion on error will fail on wrapped errors. Use errors.As to check for specific errors (errorlint)
Linting: pkg/script/value.go#L175
missing cases in switch of type syntax.Token: syntax.ILLEGAL, syntax.EOF, syntax.NEWLINE, syntax.INDENT, syntax.OUTDENT, syntax.IDENT, syntax.INT, syntax.FLOAT, syntax.STRING, syntax.BYTES, syntax.PLUS, syntax.MINUS, syntax.STAR, syntax.SLASH, syntax.SLASHSLASH, syntax.PERCENT, syntax.AMP, syntax.PIPE, syntax.CIRCUMFLEX, syntax.LTLT, syntax.GTGT, syntax.TILDE, syntax.DOT, syntax.COMMA, syntax.EQ, syntax.SEMI, syntax.COLON, syntax.LPAREN, syntax.RPAREN, syntax.LBRACK, syntax.RBRACK, syntax.LBRACE, syntax.RBRACE, syntax.PLUS_EQ, syntax.MINUS_EQ, syntax.STAR_EQ, syntax.SLASH_EQ, syntax.SLASHSLASH_EQ, syntax.PERCENT_EQ, syntax.AMP_EQ, syntax.PIPE_EQ, syntax.CIRCUMFLEX_EQ, syntax.LTLT_EQ, syntax.GTGT_EQ, syntax.STARSTAR, syntax.AND, syntax.BREAK, syntax.CONTINUE, syntax.DEF, syntax.ELIF, syntax.ELSE, syntax.FOR, syntax.IF, syntax.IN, syntax.LAMBDA, syntax.LOAD, syntax.NOT, syntax.NOT_IN, syntax.OR, syntax.PASS, syntax.RETURN, syntax.WHILE (exhaustive)
Linting: pkg/script/builtin_helpers.go#L65
type assertion must be checked (forcetypeassert)
Linting: pkg/script/builtin_helpers.go#L68
type assertion must be checked (forcetypeassert)
Linting: pkg/script/matchers.go#L33
type assertion must be checked (forcetypeassert)
Linting: main.go#L64
sigchanyzer: misuse of unbuffered os.Signal channel as argument to signal.Notify (govet)

Artifacts

Produced during runtime
Name Size
nlnwa~veidemann-scopeservice~3JZKVS.dockerbuild Expired
17.2 KB