Skip to content

POC use ent as dbv2 #2352

POC use ent as dbv2

POC use ent as dbv2 #2352

Triggered via pull request February 8, 2024 16:16
Status Failure
Total duration 1m 40s
Artifacts

backend-tests.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 1 warning
go-tests: test/store/store.go#L28
not enough arguments in call to store.New
go-tests
Process completed with exit code 1.
go-static-checks: test/store/store.go#L1
: # github.com/usememos/memos/test/store [github.com/usememos/memos/test/store.test]
go-static-checks: test/store/store.go#L28
not enough arguments in call to store.New
go-static-checks: store/dbv2/db.go#L33
use of `fmt.Errorf` forbidden because "Please use errors\\.Wrap\\|Wrapf\\|Errorf instead" (forbidigo)
go-static-checks: store/dbv2/db.go#L36
use of `fmt.Errorf` forbidden because "Please use errors\\.Wrap\\|Wrapf\\|Errorf instead" (forbidigo)
go-static-checks: store/dbv2/db.go#L45
use of `fmt.Errorf` forbidden because "Please use errors\\.Wrap\\|Wrapf\\|Errorf instead" (forbidigo)
go-static-checks: api/v2/memo_service.go#L20
File is not `goimports`-ed with -local github.com/usememos/memos (goimports)
go-static-checks: store/dbv2/db.go#L35
nilness: impossible condition: nil != nil (govet)
go-static-checks: store/dbv2/db.go#L31
ineffectual assignment to err (ineffassign)
go-static-checks
issues found
go-static-checks
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.