Skip to content

feat: PoC Of Router #26

feat: PoC Of Router

feat: PoC Of Router #26

Triggered via pull request September 4, 2024 05:49
@tolelomtolelom
synchronize #10
tolelom
Status Failure
Total duration 17s
Artifacts

go.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
build: poc/my_router_test.go#L74
cannot use []*Pool{…} (value of type []*Pool) as string value in struct literal
build: poc/my_router_test.go#L78
cannot use []SwapRequest{…} (value of type []SwapRequest) as []*Pool value in struct literal
build: poc/my_router_test.go#L80
cannot use []SwapResult{…} (value of type []SwapResult) as []SwapRequest value in struct literal
build: poc/my_router_test.go#L83
cannot use 2 (untyped int constant) as []SwapResult value in struct literal
build: poc/my_router_test.go#L84
too few values in struct literal of type struct{name string; edges []*Pool; requests []SwapRequest; results []SwapResult; maxSearchLength int}
build: poc/my_router_test.go#L86
cannot use []*Pool{…} (value of type []*Pool) as string value in struct literal
build: poc/my_router_test.go#L90
cannot use []SwapRequest{…} (value of type []SwapRequest) as []*Pool value in struct literal
build: poc/my_router_test.go#L92
cannot use []SwapResult{…} (value of type []SwapResult) as []SwapRequest value in struct literal
build: poc/my_router_test.go#L95
cannot use 1 (untyped int constant) as []SwapResult value in struct literal
build: poc/my_router_test.go#L96
too few values in struct literal of type struct{name string; edges []*Pool; requests []SwapRequest; results []SwapResult; maxSearchLength int}
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build
Restore cache failed: Dependencies file is not found in /home/runner/work/router/router. Supported file pattern: go.sum