Skip to content

Fix security issue and add go linter #4

Fix security issue and add go linter

Fix security issue and add go linter #4

Triggered via pull request August 7, 2024 01:59
@feiniksfeiniks
synchronize #677
fix_deps
Status Failure
Total duration 1m 0s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
lint: notification-server/client.go#L223
Error return value of `client.conn.SetWriteDeadline` is not checked (errcheck)
lint: notification-server/client.go#L254
Error return value of `client.conn.SetWriteDeadline` is not checked (errcheck)
lint: notification-server/server.go#L197
Error return value of `syscall.Dup3` is not checked (errcheck)
lint: notification-server/server.go#L248
Error return value of `syscall.Dup3` is not checked (errcheck)
lint: notification-server/server.go#L224
S1000: should use for range instead of for { select {} } (gosimple)
lint: notification-server/server.go#L215
printf: github.com/sirupsen/logrus.Info call has possible Printf formatting directive %v (govet)
lint
issues found
lint
not enough arguments in call to fsmgr.Init
lint
not enough arguments in call to Init
lint
issues found
lint
Restore cache failed: Dependencies file is not found in /home/runner/work/seafile-server/seafile-server. Supported file pattern: go.sum
lint
Restore cache failed: Dependencies file is not found in /home/runner/work/seafile-server/seafile-server. Supported file pattern: go.sum