ci: update workflows #1
Annotations
11 errors
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)
|
Linting:
pkg/script/status.go#L72
SA5011: possible nil pointer dereference (staticcheck)
|
Golang unit tests
Process completed with exit code 1.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
nlnwa~veidemann-scopeservice~RAS7DG.dockerbuild
Expired
|
17 KB |
|