Skip to content

Add Casbin prototype #279

Add Casbin prototype

Add Casbin prototype #279

Triggered via push June 22, 2024 12:56
Status Failure
Total duration 4m 35s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 1 warning
test: modules/auth/casbin.go#L68
Error return value of `casbinEnforcer.SetWatcher` is not checked (errcheck)
test: modules/auth/casbin.go#L69
Error return value of `watcher.SetUpdateCallback` is not checked (errcheck)
test: modules/auth/casbin.go#L80
Error return value of `enforcer.AddPolicy` is not checked (errcheck)
test: modules/auth/casbin.go#L81
Error return value of `enforcer.AddPolicy` is not checked (errcheck)
test: modules/auth/casbin.go#L88
Error return value of `enforcer.SavePolicy` is not checked (errcheck)
test: tests/core/casbin_test.go#L13
Error return value of `enforcer.SavePolicy` is not checked (errcheck)
test
issues found
test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.