feat: add ENV support for configuration #28
Annotations
15 errors and 4 warnings
lint:
internal/proxy/healthchecker.go#L5
File is not `goimports`-ed (goimports)
|
lint:
internal/proxy/healthchecker_test.go#L5
File is not `goimports`-ed (goimports)
|
lint:
internal/proxy/proxy_test.go#L6
File is not `goimports`-ed (goimports)
|
lint:
main.go#L70
unnecessary conversion (unconvert)
|
lint:
internal/proxy/healthchecker.go#L97
func `(*HealthChecker).checkGasLimit` is unused (unused)
|
lint:
internal/proxy/healthchecker.go#L139
func `(*HealthChecker).checkAndSetGasLeftHealth` is unused (unused)
|
lint:
internal/util/util.go#L44
return with no blank line before (nlreturn)
|
lint:
internal/util/util.go#L98
return with no blank line before (nlreturn)
|
lint:
main.go#L118
return with no blank line before (nlreturn)
|
lint
issues found
|
vulncheck
util.ReadFileFromURL calls http.Client.Do
|
vulncheck
metrics.Server.Start calls http.Server.ListenAndServe, which eventually calls textproto.Reader.ReadLine
|
vulncheck
util.ReadFileFromURL calls io.ReadAll, which eventually calls textproto.Reader.ReadMIMEHeader
|
vulncheck
metrics.Server.Start calls http.Server.ListenAndServe, which eventually calls x509.Certificate.Verify
|
vulncheck
Process completed with exit code 3.
|
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
|
test
Restore cache failed: Dependencies file is not found in /home/runner/work/rpc-gateway/rpc-gateway. Supported file pattern: go.sum
|