Skip to content

Add Linter (#71)

Add Linter (#71) #29

Triggered via push September 6, 2024 14:16
Status Failure
Total duration 1m 11s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
build: runtime/eval_new_expression.go#L33
Error return value is not checked (errcheck)
build: runtime/runtime.go#L82
Error return value of `r.Eval` is not checked (errcheck)
build: runtime/type_cast.go#L69
cognitive complexity 27 of func `numberCast` is high (> 20) (gocognit)
build: object/number.go#L41
G115: integer overflow conversion uint64 -> uint32 (gosec)
build: object/number.go#L74
G115: integer overflow conversion *uint64 -> unsafe.Pointer (gosec)
build: runtime/type_cast.go#L118
G115: integer overflow conversion int64 -> int8 (gosec)
build: runtime/type_cast.go#L120
G115: integer overflow conversion int64 -> int16 (gosec)
build: runtime/type_cast.go#L122
G115: integer overflow conversion int64 -> int32 (gosec)
build: runtime/type_cast.go#L126
G115: integer overflow conversion int64 -> uint8 (gosec)
build: runtime/type_cast.go#L128
G115: integer overflow conversion int64 -> uint16 (gosec)
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/