Skip to content

Generic lib

Generic lib #45

Triggered via pull request July 8, 2024 09:37
@noborumanoboruma
synchronize #121
generic-lib
Status Failure
Total duration 3m 30s
Artifacts

golang-linter.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 1 warning
lint: signature/signatures.go#L74
Error return value of `contents.Seek` is not checked (errcheck)
lint: signature/signatures.go#L82
Error return value of `matchingStr.Seek` is not checked (errcheck)
lint: signature/signatures.go#L127
Error return value of `contents.Seek` is not checked (errcheck)
lint: signature/signatures.go#L134
Error return value of `matchingStr.Seek` is not checked (errcheck)
lint: main.go#L105
Error return value of `scan.Scan` is not checked (errcheck)
lint: output/output.go#L112
ST1016: methods on the same type should have the same receiver name (seen 1x "imageOutput", 6x "dirOutput") (stylecheck)
lint: signature/signatures.go#L15
ST1019: package "github.com/sirupsen/logrus" is being imported more than once (stylecheck)
lint: server/grpc.go#L70
ST1003: should not use underscores in Go names; func parameter socket_path should be socketPath (stylecheck)
lint
issues found
lint
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/