Skip to content

feat: support "-v/--version" to get version of casbin-go-cli #30

feat: support "-v/--version" to get version of casbin-go-cli

feat: support "-v/--version" to get version of casbin-go-cli #30

Triggered via pull request January 14, 2025 11:53
Status Failure
Total duration 42s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
golangci: cmd/enforce.go#L71
undefined: casbin (typecheck)
golangci: ../../../go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.1.linux-amd64/src/slices/iter.go#L50
cannot range over seq (variable of type iter.Seq[E]) (typecheck)
golangci: ../../../go/pkg/mod/github.com/casbin/casbin/v2@v2.97.0/management_api.go#L18
"errors" imported and not used (typecheck)
golangci: ../../../go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.1.linux-amd64/src/regexp/exec.go#L432
inst.Arg undefined (type *onePassInst has no field or method Arg) (typecheck)
golangci: ../../../go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.1.linux-amd64/src/regexp/exec.go#L446
inst.Out undefined (type *onePassInst has no field or method Out) (typecheck)
golangci: ../../../go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.1.linux-amd64/src/regexp/exec.go#L447
inst.Op undefined (type *onePassInst has no field or method Op) (typecheck)
golangci: ../../../go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.1.linux-amd64/src/regexp/exec.go#L458
inst.MatchRune undefined (type *onePassInst has no field or method MatchRune) (typecheck)
golangci: ../../../go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.1.linux-amd64/src/regexp/exec.go#L462
inst.Rune undefined (type *onePassInst has no field or method Rune) (typecheck)
golangci: ../../../go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.1.linux-amd64/src/regexp/exec.go#L480
inst.Arg undefined (type *onePassInst has no field or method Arg) (typecheck)
golangci
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636