Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Don't use panic

Don't use panic #476

Triggered via pull request February 19, 2024 13:53
Status Failure
Total duration 40s
Artifacts

golang.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 4 warnings
test: internal/rpcgateway/rpcgateway_test.go#L108
assignment mismatch: 1 variable but NewRPCGateway returns 2 values
test: internal/proxy/proxy_test.go#L67
assignment mismatch: 1 variable but NewHealthCheckManager returns 2 values
test: internal/proxy/proxy_test.go#L75
assignment mismatch: 1 variable but NewProxy returns 2 values
test: internal/proxy/proxy_test.go#L118
assignment mismatch: 1 variable but NewHealthCheckManager returns 2 values
test: internal/proxy/proxy_test.go#L124
assignment mismatch: 1 variable but NewProxy returns 2 values
test: internal/proxy/proxy_test.go#L172
assignment mismatch: 1 variable but NewHealthCheckManager returns 2 values
test: internal/proxy/proxy_test.go#L178
assignment mismatch: 1 variable but NewProxy returns 2 values
test: internal/proxy/proxy_test.go#L236
assignment mismatch: 1 variable but NewHealthCheckManager returns 2 values
test: internal/proxy/proxy_test.go#L246
assignment mismatch: 1 variable but NewProxy returns 2 values
test
Process completed with exit code 1.
lint: internal/proxy/config.go#L1
: # github.com/0xProject/rpc-gateway/internal/proxy [github.com/0xProject/rpc-gateway/internal/proxy.test]
lint: internal/proxy/proxy_test.go#L67
assignment mismatch: 1 variable but NewHealthCheckManager returns 2 values
lint: internal/proxy/proxy_test.go#L75
assignment mismatch: 1 variable but NewProxy returns 2 values
lint: internal/proxy/proxy_test.go#L118
assignment mismatch: 1 variable but NewHealthCheckManager returns 2 values
lint: internal/proxy/proxy_test.go#L124
assignment mismatch: 1 variable but NewProxy returns 2 values
lint: internal/proxy/proxy_test.go#L172
assignment mismatch: 1 variable but NewHealthCheckManager returns 2 values
lint: internal/proxy/proxy_test.go#L178
assignment mismatch: 1 variable but NewProxy returns 2 values
lint: internal/proxy/proxy_test.go#L236
assignment mismatch: 1 variable but NewHealthCheckManager returns 2 values
lint: internal/proxy/proxy_test.go#L246
assignment mismatch: 1 variable but NewProxy returns 2 values (typecheck)
lint: internal/rpcgateway/config.go#L1
: # github.com/0xProject/rpc-gateway/internal/rpcgateway [github.com/0xProject/rpc-gateway/internal/rpcgateway.test]
test
Restore cache failed: Dependencies file is not found in /home/runner/work/rpc-gateway/rpc-gateway. Supported file pattern: go.sum
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint
Restore cache failed: Dependencies file is not found in /home/runner/work/rpc-gateway/rpc-gateway. Supported file pattern: go.sum
vulncheck
Restore cache failed: Dependencies file is not found in /home/runner/work/rpc-gateway/rpc-gateway. Supported file pattern: go.sum