add admin additional role to mlp.project.post #211
Annotations
10 errors and 3 warnings
Lint code:
api/cmd/bootstrap.go#L1
: # github.com/caraml-dev/mlp/api/cmd [github.com/caraml-dev/mlp/api/cmd.test]
|
Lint code:
api/cmd/bootstrap_test.go#L22
invalid composite literal type enforcer.Enforcer
|
Lint code:
api/cmd/bootstrap_test.go#L25
invalid operation: cannot call non-function req.RoleMembers (variable of type map[string][]string)
|
Lint code:
api/cmd/bootstrap_test.go#L26
invalid operation: cannot call non-function req.RoleMembers (variable of type map[string][]string)
|
Lint code:
api/cmd/bootstrap_test.go#L27
invalid operation: cannot call non-function req.RolePermissions (variable of type map[string][]string)
|
Lint code:
api/cmd/bootstrap_test.go#L33
use of package enforcer not in selector
|
Lint code:
api/cmd/bootstrap_test.go#L33
cannot assign to enforcer.NewEnforcerBuilder (value of type func() *enforcer.Builder)
|
Lint code:
api/cmd/bootstrap_test.go#L33
undefined: enforcer.EnforcerBuilder
|
Lint code:
api/cmd/bootstrap_test.go#L34
undefined: enforcer.EnforcerBuilder (typecheck)
|
Lint code
issues found
|
The following actions uses node12 which is deprecated and will be forced to run on node16: golangci/golangci-lint-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Lint code
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Lint code
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
The logs for this run have expired and are no longer available.
Loading