ci: add error linters #465
Annotations
20 errors and 1 warning
reviewdog:
internal/action/action_test.go#L73
[golangci] reported by reviewdog 🐶
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"DescribeRegionsError\")" (err113)
Raw Output:
internal/action/action_test.go:73:18: do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"DescribeRegionsError\")" (err113)
[]string{}, fmt.Errorf("DescribeRegionsError"),
^
|
reviewdog:
pkg/client/ec2_test.go#L104
[golangci] reported by reviewdog 🐶
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"DescribeRegionsError\")" (err113)
Raw Output:
pkg/client/ec2_test.go:104:35: do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"DescribeRegionsError\")" (err113)
}, middleware.Metadata{}, fmt.Errorf("DescribeRegionsError")
^
|
reviewdog:
pkg/client/lambda_test.go#L222
[golangci] reported by reviewdog 🐶
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"ListFunctionsError\")" (err113)
Raw Output:
pkg/client/lambda_test.go:222:35: do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"ListFunctionsError\")" (err113)
}, middleware.Metadata{}, fmt.Errorf("ListFunctionsError")
^
|
reviewdog:
pkg/client/lambda_test.go#L279
[golangci] reported by reviewdog 🐶
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"ListFunctionsError\")" (err113)
Raw Output:
pkg/client/lambda_test.go:279:36: do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"ListFunctionsError\")" (err113)
}, middleware.Metadata{}, fmt.Errorf("ListFunctionsError")
^
|
reviewdog:
pkg/client/lambda_test.go#L484
[golangci] reported by reviewdog 🐶
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"ListFunctionsError\")" (err113)
Raw Output:
pkg/client/lambda_test.go:484:35: do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"ListFunctionsError\")" (err113)
}, middleware.Metadata{}, fmt.Errorf("ListFunctionsError")
^
|
reviewdog:
internal/io/output.go#L47
[golangci] reported by reviewdog 🐶
error returned from external package is unwrapped: sig: func os.Create(name string) (*os.File, error) (wrapcheck)
Raw Output:
internal/io/output.go:47:10: error returned from external package is unwrapped: sig: func os.Create(name string) (*os.File, error) (wrapcheck)
return err
^
|
reviewdog:
internal/io/output.go#L58
[golangci] reported by reviewdog 🐶
error returned from external package is unwrapped: sig: func (*encoding/csv.Writer).WriteAll(records [][]string) error (wrapcheck)
Raw Output:
internal/io/output.go:58:10: error returned from external package is unwrapped: sig: func (*encoding/csv.Writer).WriteAll(records [][]string) error (wrapcheck)
return err
^
|
reviewdog:
internal/io/output.go#L62
[golangci] reported by reviewdog 🐶
error returned from external package is unwrapped: sig: func (*encoding/csv.Writer).Error() error (wrapcheck)
Raw Output:
internal/io/output.go:62:10: error returned from external package is unwrapped: sig: func (*encoding/csv.Writer).Error() error (wrapcheck)
return err
^
|
reviewdog:
internal/app/app.go#L70
[golangci] reported by reviewdog 🐶
error returned from external package is unwrapped: sig: func (*github.com/urfave/cli/v2.App).RunContext(ctx context.Context, arguments []string) (err error) (wrapcheck)
Raw Output:
internal/app/app.go:70:9: error returned from external package is unwrapped: sig: func (*github.com/urfave/cli/v2.App).RunContext(ctx context.Context, arguments []string) (err error) (wrapcheck)
return a.Cli.RunContext(ctx, os.Args)
^
|
reviewdog
reviewdog: Too many results (annotations) in diff.
You may miss some annotations due to GitHub limitation for annotation created by logging command.
Please check GitHub Actions log console to see all results.
Limitation:
- 10 warning annotations and 10 error annotations per step
- 50 annotations per job (sum of annotations from all the steps)
- 50 annotations per run (separate from the job annotations, these annotations aren't created by users)
Source: https://github.com/orgs/community/discussions/26680#discussioncomment-3252835
|
test
Cannot open: File exists
|
test
Cannot open: File exists
|
test
Cannot open: File exists
|
test
Cannot open: File exists
|
test
Cannot open: File exists
|
test
Cannot open: File exists
|
test
Cannot open: File exists
|
test
Cannot open: File exists
|
test
Cannot open: File exists
|
test
Cannot open: File exists
|
test
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
code-coverage-report
|
6.71 KB |
|