chore: introduce flags helper for consistency #1827
main.yaml
on: pull_request
Test Release Process
43s
verification-with-cosign
verification-with-slsa-verifier
Annotations
22 errors and 1 warning
|
Test Release Process
The process '/opt/hostedtoolcache/goreleaser-action/2.10.2/x64/goreleaser' failed with exit code 1
|
|
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
|
|
Lints:
internal/flags/flags_test.go#L30
Function TestSetFlagRequired_NonPersistent_FlagNotFound missing the call to method parallel (paralleltest)
|
|
Lints:
internal/flags/flags_test.go#L21
Function TestSetFlagRequired_Persistent_Success missing the call to method parallel (paralleltest)
|
|
Lints:
internal/flags/flags_test.go#L12
Function TestSetFlagRequired_NonPersistent_Success missing the call to method parallel (paralleltest)
|
|
Lints:
internal/authorizationmodel/model.go#L271
avoid inline error handling using `if err := ...; err != nil`; use plain assignment `err := ...` (noinlineerr)
|
|
Lints:
internal/authorizationmodel/model.go#L265
avoid inline error handling using `if err := ...; err != nil`; use plain assignment `err := ...` (noinlineerr)
|
|
Lints:
internal/authorizationmodel/model.go#L115
avoid inline error handling using `if err := ...; err != nil`; use plain assignment `err := ...` (noinlineerr)
|
|
Lints:
cmd/query/list-users.go#L142
The line is 139 characters long, which exceeds the maximum of 120 characters. (lll)
|
|
Lints:
internal/flags/flags.go#L24
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(flagRequiredErrorMsg, flag, location, err)" (err113)
|
|
Lints:
internal/flags/flags.go#L20
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(flagRequiredErrorMsg, flag, location, err)" (err113)
|
|
Lints:
internal/flags/flags_test.go#L7
import 'github.com/spf13/cobra' is not allowed from list 'test' (depguard)
|
|
Tests
Process completed with exit code 2.
|
|
Test Release Process
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
|