Skip to content

ci: configure additional CI jobs & bring linter settings in compliance with OSS template #956

ci: configure additional CI jobs & bring linter settings in compliance with OSS template

ci: configure additional CI jobs & bring linter settings in compliance with OSS template #956

Triggered via pull request August 21, 2024 19:23
@jtierijtieri
synchronize #279
justin/ci
Status Failure
Total duration 1m 10s
Artifacts

lint.yml

on: pull_request
golangci-lint
1m 2s
golangci-lint
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
golangci-lint: signer/cosigner_grpc_server.go#L134
use of `fmt.Printf` forbidden by pattern `^(fmt\.Print(|f|ln)|print|println)$` (forbidigo)
golangci-lint: signer/cosigner_grpc_server.go#L140
use of `fmt.Printf` forbidden by pattern `^(fmt\.Print(|f|ln)|print|println)$` (forbidigo)
golangci-lint: signer/services.go#L91
use of `fmt.Printf` forbidden by pattern `^(fmt\.Print(|f|ln)|print|println)$` (forbidigo)
golangci-lint: cmd/horcrux/cmd/address.go#L106
use of `fmt.Println` forbidden by pattern `^(fmt\.Print(|f|ln)|print|println)$` (forbidigo)
golangci-lint: cmd/horcrux/cmd/root.go#L89
use of `fmt.Println` forbidden by pattern `^(fmt\.Print(|f|ln)|print|println)$` (forbidigo)
golangci-lint: cmd/horcrux/cmd/root.go#L100
use of `fmt.Println` forbidden by pattern `^(fmt\.Print(|f|ln)|print|println)$` (forbidigo)
golangci-lint: signer/services.go#L68
missing cases in switch of type syscall.Errno: syscall.E2BIG, syscall.EACCES, syscall.EADDRINUSE, syscall.EADDRNOTAVAIL, syscall.EADV, syscall.EAFNOSUPPORT, syscall.EAGAIN|syscall.EWOULDBLOCK, syscall.EALREADY, syscall.EBADE, syscall.EBADF, syscall.EBADFD, syscall.EBADMSG, syscall.EBADR, syscall.EBADRQC, syscall.EBADSLT, syscall.EBFONT, syscall.EBUSY, syscall.ECANCELED, syscall.ECHILD, syscall.ECHRNG, syscall.ECOMM, syscall.ECONNABORTED, syscall.ECONNREFUSED, syscall.ECONNRESET, syscall.EDEADLK|syscall.EDEADLOCK, syscall.EDESTADDRREQ, syscall.EDOM, syscall.EDOTDOT, syscall.EDQUOT, syscall.EEXIST, syscall.EFAULT, syscall.EFBIG, syscall.EHOSTDOWN, syscall.EHOSTUNREACH, syscall.EIDRM, syscall.EILSEQ, syscall.EINPROGRESS, syscall.EINTR, syscall.EINVAL, syscall.EIO, syscall.EISCONN, syscall.EISDIR, syscall.EISNAM, syscall.EKEYEXPIRED, syscall.EKEYREJECTED, syscall.EKEYREVOKED, syscall.EL2HLT, syscall.EL2NSYNC, syscall.EL3HLT, syscall.EL3RST, syscall.ELIBACC, syscall.ELIBBAD, syscall.ELIBEXEC, syscall.ELIBMAX, syscall.ELIBSCN, syscall.ELNRNG, syscall.ELOOP, syscall.EMEDIUMTYPE, syscall.EMFILE, syscall.EMLINK, syscall.EMSGSIZE, syscall.EMULTIHOP, syscall.ENAMETOOLONG, syscall.ENAVAIL, syscall.ENETDOWN, syscall.ENETRESET, syscall.ENETUNREACH, syscall.ENFILE, syscall.ENOANO, syscall.ENOBUFS, syscall.ENOCSI, syscall.ENODATA, syscall.ENODEV, syscall.ENOENT, syscall.ENOEXEC, syscall.ENOKEY, syscall.ENOLCK, syscall.ENOLINK, syscall.ENOMEDIUM, syscall.ENOMEM, syscall.ENOMSG, syscall.ENONET, syscall.ENOPKG, syscall.ENOPROTOOPT, syscall.ENOSPC, syscall.ENOSR, syscall.ENOSTR, syscall.ENOSYS, syscall.ENOTBLK, syscall.ENOTCONN, syscall.ENOTDIR, syscall.ENOTEMPTY, syscall.ENOTNAM, syscall.ENOTRECOVERABLE, syscall.ENOTSOCK, syscall.ENOTSUP|syscall.EOPNOTSUPP, syscall.ENOTTY, syscall.ENOTUNIQ, syscall.ENXIO, syscall.EOVERFLOW, syscall.EOWNERDEAD, syscall.EPFNOSUPPORT, syscall.EPIPE, syscall.EPROTO, syscall.EPROTONOSUPPORT, syscall.EPROTOTYPE, syscall.ERANGE, syscall.EREMCHG, syscall.EREMOTE, syscall.EREMOTEIO, syscall.ERESTART, syscall.ERFKILL, syscall.EROFS, syscall.ESHUTDOWN, syscall.ESOCKTNOSUPPORT, syscall.ESPIPE, syscall.ESRMNT, syscall.ESTALE, syscall.ESTRPIPE, syscall.ETIME, syscall.ETIMEDOUT, syscall.ETOOMANYREFS, syscall.ETXTBSY, syscall.EUCLEAN, syscall.EUNATCH, syscall.EUSERS, syscall.EXDEV, syscall.EXFULL (exhaustive)
golangci-lint: signer/sign_state.go#L44
missing cases in switch of type types.SignedMsgType: types.UnknownType, types.ProposalType (exhaustive)
golangci-lint: signer/sign_state.go#L55
missing cases in switch of type types.SignedMsgType: types.UnknownType, types.ProposalType (exhaustive)
golangci-lint: signer/cosigner_nonce_cache_test.go#L31
float-compare: use require.InEpsilon (or InDelta) (testifylint)
golangci-lint
Restore cache failed: Dependencies file is not found in /home/runner/work/horcrux/horcrux. Supported file pattern: go.sum