Skip to content

feat: Update authentication #54

feat: Update authentication

feat: Update authentication #54

Triggered via pull request May 23, 2024 09:20
Status Failure
Total duration 43s
Artifacts

golang.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

13 errors and 5 warnings
lint: main.go#L6
File is not `goimports`-ed (goimports)
lint: internal/auth/auth.go#L13
return with no blank line before (nlreturn)
lint
issues found
vulncheck
rpcgateway.NewRPCGateway calls fmt.Sprintf, which eventually calls common.Address.Format
vulncheck
proxy.NewHealthChecker calls slog.Logger.With, which eventually calls common.Address.MarshalText
vulncheck
rpcgateway.NewRPCGateway calls fmt.Sprintf, which eventually calls common.Address.String
vulncheck
rpcgateway.NewRPCGateway calls fmt.Sprintf, which eventually calls common.Hash.Format
vulncheck
proxy.NewHealthChecker calls slog.Logger.With, which eventually calls common.Hash.MarshalText
vulncheck
rpcgateway.NewRPCGateway calls fmt.Sprintf, which eventually calls common.Hash.String
vulncheck
proxy.NewHealthChecker calls rpc.Dial, which eventually calls common.Hash.TerminalString
vulncheck
rpcgateway.NewRPCGateway calls fmt.Sprintf, which eventually calls common.StorageSize.String
vulncheck
proxy.NewHealthChecker calls rpc.Dial, which eventually calls common.StorageSize.TerminalString
vulncheck
proxy.init calls rpc.init, which calls common.init
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: internal/auth/auth.go#L7
var-naming: func UrlTokenAuth should be URLTokenAuth (revive)
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