Skip to content

feat: Add support for multiple gateways #16

feat: Add support for multiple gateways

feat: Add support for multiple gateways #16

Triggered via pull request March 13, 2024 12:59
Status Failure
Total duration 43s
Artifacts

golang.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 5 warnings
lint: main.go#L76
Error return value of `metricsServer.Stop` is not checked (errcheck)
lint
issues found
vulncheck
util.loadFileFromURL calls http.Client.Do
vulncheck
metrics.Server.Start calls http.Server.ListenAndServe, which eventually calls textproto.Reader.ReadLine
vulncheck
metrics.Server.Start calls http.Server.ListenAndServe, 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: internal/rpcgateway/rpcgateway.go#L82
var-naming: func parameter fileOrUrl should be fileOrURL (revive)
lint
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
vulncheck
Restore cache failed: Dependencies file is not found in /home/runner/work/rpc-gateway/rpc-gateway. Supported file pattern: go.sum