Add option to hide successful tuple imports and display import summary #1459
main.yaml
on: pull_request
Test Release Process
4m 57s
verification-with-cosign
0s
verification-with-slsa-verifier
0s
Annotations
21 errors and 6 warnings
Lints:
cmd/tuple/write_test.go#L354
Error return value of `io.Copy` is not checked (errcheck)
|
Lints:
cmd/tuple/write_test.go#L233
cognitive complexity 38 of func `TestWriteTuplesWithImportStats` is high (> 30) (gocognit)
|
Lints:
cmd/tuple/write.go#L119
calculated cyclomatic complexity for function writeTuplesFromFile is 11, max is 10 (cyclop)
|
Lints:
cmd/tuple/write_test.go#L324
`if err == nil` has complex nested blocks (complexity: 7) (nestif)
|
Lints:
cmd/tuple/write_test.go#L359
return with no blank line before (nlreturn)
|
Lints:
cmd/tuple/write_test.go#L363
len: use assert.Len (testifylint)
|
Lints:
cmd/tuple/write_test.go#L316
variable name 'r' is too short for the scope of its usage (varnamelen)
|
Lints:
cmd/tuple/write.go#L163
error returned from external package is unwrapped: sig: func github.com/openfga/cli/internal/output.Display(data any) error (wrapcheck)
|
Lints:
cmd/tuple/write.go#L170
error returned from external package is unwrapped: sig: func github.com/openfga/cli/internal/output.Display(data any) error (wrapcheck)
|
Lints:
cmd/tuple/write_test.go#L374
if statements should only be cuddled with assignments (wsl)
|
Tests
Process completed with exit code 2.
|
Test Release Process
Cannot open: File exists
|
Test Release Process
Cannot open: File exists
|
Test Release Process
Cannot open: File exists
|
Test Release Process
Cannot open: File exists
|
Test Release Process
Cannot open: File exists
|
Test Release Process
Cannot open: File exists
|
Test Release Process
Cannot open: File exists
|
Test Release Process
Cannot open: File exists
|
Test Release Process
Cannot open: File exists
|
Test Release Process
Cannot open: File exists
|
Shellcheck
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Security Audits
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Lints
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Test Release Process
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Test Release Process
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
|