Skip to content

Switch to a parser-based approach #13

Switch to a parser-based approach

Switch to a parser-based approach #13

Triggered via pull request December 27, 2024 09:05
@paddycarverpaddycarver
synchronize #1
parser
Status Failure
Total duration 34s
Artifacts

golangci-lint.yml

on: pull_request
Matrix: lint
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 1 warning
lint (oldstable): flag_def.go#L119
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"%q (defined on %q) is not a valid flag key; flag keys must start with --, or - for short flags\", key, strings.Join(path, \" \"))" (err113)
lint (oldstable): flag_def.go#L122
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"%q (defined on %q) is not a valid short flag key; short flag keys must be one letter or number\", key, strings.Join(path, \" \"))" (err113)
lint (oldstable): flag_def.go#L125
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"%q (defined on %q) is not a valid flag key; you must have at least one letter or number\", key, strings.Join(path, \" \"))" (err113)
lint (oldstable): flag_def.go#L127
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"%q (defined on %q) is not a valid flag key; flag keys can only contain letters, numbers, -, _, and :, and must start with a letter or number\", key, strings.Join(path, \" \"))" (err113)
lint (oldstable): flag_reflect_number.go#L25
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"unexpected kind %s\", target.Kind())" (err113)
lint (oldstable): flag_reflect_number.go#L44
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"unexpected kind %s\", target.Kind())" (err113)
lint (oldstable): flag_reflect_number.go#L63
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"unexpected kind %s\", target.Kind())" (err113)
lint (oldstable): flag_reflect_number.go#L82
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"unexpected kind %s\", target.Kind())" (err113)
lint (oldstable): flag_reflect_number.go#L95
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"unexpected kind %s\", target.Kind())" (err113)
lint (oldstable): flag_reflect_number.go#L108
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"unexpected kind %s\", target.Kind())" (err113)
lint (stable)
The job was canceled because "oldstable" failed.
lint (stable)
The operation was canceled.
lint (oldstable)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636