Skip to content
This repository has been archived by the owner on Jan 2, 2025. It is now read-only.

HM24 (DO NOT MERGE) #637

HM24 (DO NOT MERGE)

HM24 (DO NOT MERGE) #637

Triggered via pull request June 21, 2024 15:56
@ericvicentiericvicenti
synchronize #1710
hm24
Status Failure
Total duration 1m 46s
Artifacts

lint-go.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
lint-go: backend/pkg/sqlitegen/queries_test.go#L4
SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package [io] or package [os], and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
lint-go: backend/pkg/sqlitegen/schema_test.go#L5
SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package [io] or package [os], and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
lint-go: backend/hyper/hypersql/queries.manual.go#L114
unused-parameter: parameter 'stmt' seems to be unused, consider removing or renaming it as _ (revive)
lint-go: backend/hyper/hypersql/queries.go#L5
SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package [io] or package [os], and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
lint-go: backend/lndhub/lndhubsql/lndhub.go#L1
package-comments: should have a package comment (revive)
lint-go: backend/lndhub/lndhub.go#L609
G404: Use of weak random number generator (math/rand or math/rand/v2 instead of crypto/rand) (gosec)
lint-go: backend/lndhub/lndhub.go#L154
unexported-return: exported method Create returns unexported type lndhub.createResponse, which can be annoying to use (revive)
lint-go: backend/lndhub/lndhub.go#L1
package-comments: should have a package comment (revive)
lint-go: backend/lndhub/lndhub_test.go#L119
SA1019: rand.Seed has been deprecated since Go 1.20 and an alternative has been available since Go 1.0: As of Go 1.20 there is no reason to call Seed with a random value. Programs that call Seed with a known value to get a specific sequence of results should use New(NewSource(seed)) to obtain a local random generator. (staticcheck)
lint-go: backend/pkg/sqlitegen/example/queries.go#L56
G306: Expect WriteFile permissions to be 0600 or less (gosec)
lint-go
Restore cache failed: Dependencies file is not found in /home/runner/work/mintter/mintter. Supported file pattern: go.sum