add unit test for AddPolicy method (#5) #6
Annotations
4 errors and 2 warnings
lint:
adapter.go#L485
Error return value of `tx.Rollback` is not checked (errcheck)
|
lint:
adapter.go#L491
Error return value of `tx.Rollback` is not checked (errcheck)
|
lint:
adapter.go#L500
Error return value of `tx.Rollback` is not checked (errcheck)
|
lint
issues found
|
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4, actions/checkout@v3, golangci/golangci-lint-action@v3.4.0. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
lint
Restore cache failed: Dependencies file is not found in /home/runner/work/casbin-bun-adapter/casbin-bun-adapter. Supported file pattern: go.sum
|