Skip to content

Add golangci-lint

Add golangci-lint #829

Triggered via pull request July 13, 2024 11:23
Status Failure
Total duration 2m 46s
Artifacts

test.yml

on: pull_request
Matrix: MySQL
Matrix: PostgreSQL
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
Lint: adapter/oracle/adapter_test.go#L35
Error return value is not checked (errcheck)
Lint: adapter/oracle/adapter_test.go#L29
redefines-builtin-id: redefinition of the built-in function close (revive)
Lint: adapter/sqlite3/adapter_test.go#L17
Error return value is not checked (errcheck)
Lint: adapter/sqlite3/adapter_test.go#L11
redefines-builtin-id: redefinition of the built-in function close (revive)
Lint: adapter/mysql/adapter_test.go#L37
Error return value is not checked (errcheck)
Lint: adapter/mysql/adapter_test.go#L31
redefines-builtin-id: redefinition of the built-in function close (revive)
Lint: lib/erd_generator_test.go#L217
Error return value of `g.output` is not checked (errcheck)
Lint: lib/erd_generator_test.go#L243
Error return value of `io.Copy` is not checked (errcheck)
Lint: lib/erd_generator_test.go#L515
Error return value of `generator.Run` is not checked (errcheck)
Lint: lib/erd_generator_test.go#L546
Error return value of `generator.Run` is not checked (errcheck)
Coverage
The following actions uses Node.js version which is deprecated and will be forced to run on node20: coverallsapp/github-action@master. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/