Skip to content

add unit tests for feemarket gas prices query #1038

add unit tests for feemarket gas prices query

add unit tests for feemarket gas prices query #1038

Triggered via push June 18, 2024 17:15
Status Failure
Total duration 2m 27s
Artifacts

push.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 3 warnings
Test: internal/subscriber/subscriber_test.go#L31
cannot use ctrl (variable of type *"go.uber.org/mock/gomock".Controller) as *"github.com/golang/mock/gomock".Controller value in argument to mock_subscriber.NewMockRpcHttpClient
Test: internal/subscriber/subscriber_test.go#L32
cannot use ctrl (variable of type *"go.uber.org/mock/gomock".Controller) as *"github.com/golang/mock/gomock".Controller value in argument to mock_subscriber.NewMockRestHttpQuery
Test: internal/subscriber/subscriber_test.go#L82
cannot use ctrl (variable of type *"go.uber.org/mock/gomock".Controller) as *"github.com/golang/mock/gomock".Controller value in argument to mock_subscriber.NewMockRpcHttpClient
Test: internal/subscriber/subscriber_test.go#L83
cannot use ctrl (variable of type *"go.uber.org/mock/gomock".Controller) as *"github.com/golang/mock/gomock".Controller value in argument to mock_subscriber.NewMockRestHttpQuery
Test
Process completed with exit code 2.
Test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4, actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test
Restore cache failed: Dependencies file is not found in /home/runner/work/neutron-query-relayer/neutron-query-relayer. Supported file pattern: go.sum