Skip to content

modules: update zen peers #455

modules: update zen peers

modules: update zen peers #455

Triggered via push September 1, 2024 15:38
Status Failure
Total duration 3m 7s
Artifacts

test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
lint: build/errors.go#L23
sloppyLen: len(errStrings) <= 0 can be len(errStrings) == 0 (gocritic)
lint: sync/tryrwmutex.go#L84
assignOp: replace `v = v & tryMask` with `v &= tryMask` (gocritic)
lint: crypto/xchacha20.go#L53
unslice: could simplify entropy[:] to entropy (gocritic)
lint: crypto/hash_test.go#L187
assignOp: replace `h1e = h1e + "a"` with `h1e += "a"` (gocritic)
lint: cmd/siad-convert-db/main.go#L482
unslice: could simplify buf.Bytes()[:] to buf.Bytes() (gocritic)
lint: profile/timing.go#L38
assignOp: replace `times[s] = times[s] + (time.Now().UnixNano() - toggleTime)` with `times[s] += (time.Now().UnixNano() - toggleTime)` (gocritic)
lint: persist/persist.go#L134
unslice: could simplify b[:] to b (gocritic)
lint: types/constants.go#L257
ifElseChain: rewrite if-else to switch statement (gocritic)
lint: types/encoding.go#L949
unslice: could simplify byteUnlockHash[:] to byteUnlockHash (gocritic)
lint: types/signatures.go#L323
builtinShadow: shadowing of predeclared identifier: max (gocritic)
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-go@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/