Skip to content

ci: align dns53 to be consistent with all other projects #677

ci: align dns53 to be consistent with all other projects

ci: align dns53 to be consistent with all other projects #677

Triggered via pull request October 11, 2023 04:55
@purpleclaypurpleclay
synchronize #376
align-ci
Status Failure
Total duration 2m 48s
Artifacts 1

ci.yml

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

Annotations

10 errors
lint / golangci-lint: internal/imds/imdsstub/stub.go#L88
err113: do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"unexpected instance category %s\", params.Path)" (goerr113)
lint / golangci-lint: cmd/imds.go#L53
err113: do not define dynamic errors, use wrapped static errors instead: "errors.New(`supported values are \"on\" or \"off\" (case-insensitive)`)" (goerr113)
lint / golangci-lint: cmd/root.go#L241
err113: do not define dynamic errors, use wrapped static errors instead: "errors.New(`to use metadata within a custom domain name, please enable IMDS instance tags support\nfor your EC2 instance:\n\n $ dns53 imds --instance-metadata-tags on\n\nOr read the official AWS documentation at:\nhttps://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html#allow-access-to-tags-in-IMDS`)" (goerr113)
lint / golangci-lint: cmd/imds_test.go#L140
err113: do not define dynamic errors, use wrapped static errors instead: "errors.New(\"error\")" (goerr113)
lint / golangci-lint: cmd/imds_test.go#L153
err113: do not define dynamic errors, use wrapped static errors instead: "errors.New(\"error\")" (goerr113)
lint / golangci-lint: cmd/root_test.go#L267
err113: do not define dynamic errors, use wrapped static errors instead: "errors.New(errMsg)" (goerr113)
lint / golangci-lint: cmd/root_test.go#L288
err113: do not define dynamic errors, use wrapped static errors instead: "errors.New(errMsg)" (goerr113)
lint / golangci-lint: cmd/root_test.go#L318
err113: do not define dynamic errors, use wrapped static errors instead: "errors.New(errMsg)" (goerr113)
lint / golangci-lint: cmd/tag_test.go#L63
err113: do not define dynamic errors, use wrapped static errors instead: "errors.New(\"error\")" (goerr113)
lint / golangci-lint: internal/tui/components/errorpanel/errorpanel.go#L50
Update returns interface (github.com/charmbracelet/bubbletea.Model) (ireturn)

Artifacts

Produced during runtime
Name Size
reports Expired
83.3 KB