Skip to content

BPAAS-1649: add retry type of policy #194

BPAAS-1649: add retry type of policy

BPAAS-1649: add retry type of policy #194

Triggered via pull request September 28, 2024 18:32
Status Failure
Total duration 2m 25s
Artifacts

static-analysis.yaml

on: pull_request
Static analysis
2m 16s
Static analysis
Static check
18s
Static check
Golangci-lint
17s
Golangci-lint
Fit to window
Zoom out
Zoom in

Annotations

16 errors and 2 warnings
Golangci-lint: pkg/metamorph/client.go#L1
: # github.com/bitcoin-sv/arc/pkg/metamorph
Golangci-lint: pkg/metamorph/client.go#L208
invalid operation: duration == request.GetMaxTimeout() (mismatched types float64 and int64)
Golangci-lint: pkg/metamorph/client.go#L211
invalid operation: request.MaxTimeout - duration (mismatched types int64 and float64) (typecheck)
Golangci-lint: internal/k8s_watcher/watcher.go#L13
could not import github.com/bitcoin-sv/arc/pkg/metamorph (-: # github.com/bitcoin-sv/arc/pkg/metamorph
Golangci-lint: pkg/metamorph/client.go#L208
invalid operation: duration == request.GetMaxTimeout() (mismatched types float64 and int64)
Golangci-lint: pkg/metamorph/client.go#L211
invalid operation: request.MaxTimeout - duration (mismatched types int64 and float64)) (typecheck)
Golangci-lint: cmd/arc/services/api.go#L20
could not import github.com/bitcoin-sv/arc/pkg/metamorph (-: # github.com/bitcoin-sv/arc/pkg/metamorph
Golangci-lint: pkg/metamorph/client.go#L208
invalid operation: duration == request.GetMaxTimeout() (mismatched types float64 and int64)
Golangci-lint: pkg/metamorph/client.go#L211
invalid operation: request.MaxTimeout - duration (mismatched types int64 and float64)) (typecheck)
Golangci-lint: examples/custom/main.go#L18
could not import github.com/bitcoin-sv/arc/pkg/metamorph (-: # github.com/bitcoin-sv/arc/pkg/metamorph
Static check: pkg/metamorph/client.go#L208
invalid operation: duration == request.GetMaxTimeout() (mismatched types float64 and int64)
Static check: pkg/metamorph/client.go#L211
invalid operation: request.MaxTimeout - duration (mismatched types int64 and float64) (compile)
Static check
Process completed with exit code 1.
Static analysis: pkg/metamorph/client.go#L208
invalid operation: duration == request.GetMaxTimeout() (mismatched types float64 and int64)
Static analysis: pkg/metamorph/client.go#L211
invalid operation: request.MaxTimeout - duration (mismatched types int64 and float64)
Static analysis
Process completed with exit code 1.
Golangci-lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v4, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Static check
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v4, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/