Skip to content

refactor: Update dependencies and remove unused code #21

refactor: Update dependencies and remove unused code

refactor: Update dependencies and remove unused code #21

Triggered via push July 13, 2024 03:16
Status Success
Total duration 4m 9s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

11 warnings and 10 notices
qodana
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Deprecated element: fs/test/seaweedfs_test.go#L179
`WriteFile` is deprecated
Deprecated element: fs/test/utils.go#L99
`WriteFile` is deprecated
Deprecated element: fs/test/bindata.go#L238
`WriteFile` is deprecated
Deprecated element: fs/test/seaweedfs_test.go#L204
`WriteFile` is deprecated
Deprecated element: fs/test/seaweedfs_test.go#L236
`ReadFile` is deprecated
Deprecated element: core/grpc/client/client.go#L241
`WithInsecure` is deprecated
Deprecated element: fs/seaweedfs_manager.go#L443
`WriteFile` is deprecated
Deprecated element: core/grpc/client/client_v2.go#L175
`DialContext` is deprecated
Deprecated element: fs/seaweedfs_manager.go#L669
`WriteFile` is deprecated
Deprecated element: fs/test/seaweedfs_test.go#L105
`ReadFile` is deprecated
Assignment to a receiver: core/entity/result.go#L70
Assignment to the method receiver doesn't propagate to other calls
Assignment to a receiver: core/entity/result.go#L59
Assignment to the method receiver doesn't propagate to other calls
Malformed build tag: core/sys_exec/sys_exec_linux.go#L2
//+build comments can be removed
Comment of exported element starts with the incorrect name: fs/test/bindata.go#L66
Comment should have the following format 'ModTime ...' (with an optional leading article)
Comment of exported element starts with the incorrect name: core/utils/rpc.go#L5
Comment should have the following format 'ObjectToString ...' (with an optional leading article)
Comment of exported element starts with the incorrect name: core/utils/rpc.go#L11
Comment should have the following format 'GetRpcParam ...' (with an optional leading article)
Comment of exported element starts with the incorrect name: core/constants/errors.go#L8
Comment should have the following format 'ErrAlreadyExists ...' (with an optional leading article)
Comment of exported element starts with the incorrect name: fs/test/bindata.go#L1
Package comment should be of the form 'Package test ...'
Direct comparison of errors: db/redis/client.go#L237
Comparison with errors using equality operators fails on wrapped errors
Direct comparison of errors: db/redis/client.go#L197
Comparison with errors using equality operators fails on wrapped errors