Skip to content

Realio/93

Realio/93 #6

Triggered via pull request October 24, 2024 09:22
Status Failure
Total duration 4m 20s
Artifacts

lint.yml

on: pull_request
golangci-lint
4m 9s
golangci-lint
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 1 warning
golangci-lint: x/bank/simulation/operations.go#L179
SA4030: (*math/rand.Rand).Intn(n) generates a random value 0 <= x < n; that is, the generated values don't include n; r.Intn(1) therefore always returns 0 (staticcheck)
golangci-lint
issues found
golangci-lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v3, actions/checkout@v3, 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/