Skip to content

feat: add optional type_definition for user and role prefixes #710

feat: add optional type_definition for user and role prefixes

feat: add optional type_definition for user and role prefixes #710

Re-run triggered May 7, 2026 17:48
Status Failure
Total duration 33s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 3 warnings
golangci
issues found
golangci: management_api.go#L51
assigned to enabled, but reassigned without using the value (wastedassign)
golangci: model/type.go#L102
error is not nil (line 100) but it returns nil (nilerr)
golangci: model/type.go#L46
S1009: should omit nil check; len() for github.com/casbin/casbin/v3/model.AssertionMap is defined as zero (gosimple)
golangci
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-go@v5, golangci/golangci-lint-action@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
golangci
Failed to save: <h2>Our services aren't available right now</h2><p>We're working to restore all services as soon as possible. Please check back soon.</p>0l9D8aQAAAAAD0FL8xJRSR76yYttqLhLHUEhMMzBFREdFMDExMABFZGdl
golangci
Failed to restore: Cache service responded with 400