k1LoW / runn

runn is a package/tool for running operations following a scenario.
https://runn.run
MIT License
404 stars 30 forks source link

Fix lint warn #974

Closed k1LoW closed 4 weeks ago

k1LoW commented 4 weeks ago

SSIA

github-actions[bot] commented 4 weeks ago

BenchmarkManyRunbooks-4

main (-) #974 (fb689b1) +/-
Number of iterations 1 1 0
Nanoseconds per iteration 3,936,609,073 ns/op 3,714,443,621 ns/op -222,165,452 ns/op
Bytes allocated per iteration 1,793,705,832 B/op 1,793,928,304 B/op 222,472 B/op
Allocs per iteration 21,426,185 allocs/op 21,426,725 allocs/op 540 allocs/op
Metadata | | [main](https://github.com/k1LoW/runn/tree/main) (-) | [#974](https://github.com/k1LoW/runn/pull/974) ([fb689b1](https://github.com/k1LoW/runn/commit/fb689b1f4b41642d4324bbb6384a4c6a5947b7cc)) | |------------|----------------------------------------------------:|------------------------------------------------------------------------------------------------------------------------------------------:| | **goos** | linux | linux | | **goarch** | amd64 | amd64 | | **pkg** | github.com/k1LoW/runn | github.com/k1LoW/runn | | **cpu** | AMD EPYC 7763 64-Core Processor | AMD EPYC 7763 64-Core Processor |

BenchmarkOpenAPI3-4

main (-) #974 (fb689b1) +/-
Number of iterations 1 1 0
Nanoseconds per iteration 5,183,566,477 ns/op 5,264,101,545 ns/op 80,535,068 ns/op
Bytes allocated per iteration 3,135,147,656 B/op 3,135,134,896 B/op -12,760 B/op
Allocs per iteration 29,636,676 allocs/op 29,638,257 allocs/op 1,581 allocs/op
Metadata | | [main](https://github.com/k1LoW/runn/tree/main) (-) | [#974](https://github.com/k1LoW/runn/pull/974) ([fb689b1](https://github.com/k1LoW/runn/commit/fb689b1f4b41642d4324bbb6384a4c6a5947b7cc)) | |------------|----------------------------------------------------:|------------------------------------------------------------------------------------------------------------------------------------------:| | **goos** | linux | linux | | **goarch** | amd64 | amd64 | | **pkg** | github.com/k1LoW/runn | github.com/k1LoW/runn | | **cpu** | AMD EPYC 7763 64-Core Processor | AMD EPYC 7763 64-Core Processor |

BenchmarkSingleRunbook-4

main (-) #974 (fb689b1) +/-
Number of iterations 18 18 0
Nanoseconds per iteration 64,728,825 ns/op 64,754,159 ns/op 25,334 ns/op
Bytes allocated per iteration 60,297,469 B/op 60,295,781 B/op -1,688 B/op
Allocs per iteration 205,904 allocs/op 205,878 allocs/op -26 allocs/op
Metadata | | [main](https://github.com/k1LoW/runn/tree/main) (-) | [#974](https://github.com/k1LoW/runn/pull/974) ([fb689b1](https://github.com/k1LoW/runn/commit/fb689b1f4b41642d4324bbb6384a4c6a5947b7cc)) | |------------|----------------------------------------------------:|------------------------------------------------------------------------------------------------------------------------------------------:| | **goos** | linux | linux | | **goarch** | amd64 | amd64 | | **pkg** | github.com/k1LoW/runn | github.com/k1LoW/runn | | **cpu** | AMD EPYC 7763 64-Core Processor | AMD EPYC 7763 64-Core Processor |

Reported by octocov

github-actions[bot] commented 4 weeks ago

Code Metrics Report

main (bee03be) #974 (fb689b1) +/-
Coverage 64.1% 64.1% 0.0%
Code to Test Ratio 1:0.4 1:0.4 0.0
Test Execution Time 5m35s 5m39s +4s
Details ``` diff | | main (bee03be) | #974 (fb689b1) | +/- | |---------------------|----------------|----------------|------| | Coverage | 64.1% | 64.1% | 0.0% | | Files | 77 | 77 | 0 | | Lines | 8541 | 8541 | 0 | | Covered | 5482 | 5482 | 0 | | Code to Test Ratio | 1:0.4 | 1:0.4 | 0.0 | | Code | 24191 | 24191 | 0 | | Test | 11586 | 11586 | 0 | - | Test Execution Time | 5m35s | 5m39s | +4s | ```

Code coverage of files in pull request scope (65.0% → 65.0%)

Files Coverage +/-
capture/runbook.go 77.7% 0.0%
path.go 61.8% 0.0%
scripts/fndoc.go 0.0% 0.0%

Reported by octocov