Add golangci-lint #827
test.yml
on: pull_request
Matrix: MySQL
Matrix: PostgreSQL
Oracle
2m 20s
Coverage
2m 28s
Lint
1m 9s
integration_test
1m 1s
notify
0s
Annotations
10 errors and 1 warning
Lint:
adapter/postgresql/adapter_test.go#L35
Error return value is not checked (errcheck)
|
Lint:
adapter/postgresql/adapter_test.go#L29
redefines-builtin-id: redefinition of the built-in function close (revive)
|
Lint:
adapter/postgresql/adapter.go#L104
unused-parameter: parameter 'schemaName' seems to be unused, consider removing or renaming it as _ (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:
db/undirected_graph_test.go#L12
bool-compare: use assert.True (testifylint)
|
Lint:
db/undirected_graph_test.go#L13
bool-compare: use assert.True (testifylint)
|
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:
lib/erd_generator_test.go#L217
Error return value of `g.output` 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/
|