Skip to content

HM24 (DO NOT MERGE) #663

HM24 (DO NOT MERGE)

HM24 (DO NOT MERGE) #663

Triggered via pull request June 26, 2024 21:18
@horaciohhoracioh
synchronize #1710
hm24
Status Failure
Total duration 1m 43s
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/pkg/posstrings/posstrings.go#L20
exported: exported type PositionSource should have comment or be unexported (revive)
lint-go: backend/pkg/posstrings/posstrings.go#L27
exported: exported function NewPositionSource should have comment or be unexported (revive)
lint-go: backend/pkg/posstrings/posstrings.go#L46
exported: exported method PositionSource.MustCreateBetween should have comment or be unexported (revive)
lint-go: backend/pkg/posstrings/posstrings.go#L54
exported: exported method PositionSource.CreateBetween should have comment or be unexported (revive)
lint-go: backend/pkg/posstrings/posstrings.go#L222
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
lint-go: backend/pkg/sqlitegen/example/schema/schema.go#L1
package-comments: should have a package comment (revive)
lint-go: backend/pkg/sqlitegen/example/schema/schema.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/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