Skip to content

Merge pull request #341 from SiaFoundation/dependabot/go_modules/gith… #598

Merge pull request #341 from SiaFoundation/dependabot/go_modules/gith…

Merge pull request #341 from SiaFoundation/dependabot/go_modules/gith… #598

Triggered via push March 26, 2024 08:49
Status Failure
Total duration 1m 30s
Artifacts

publish.yml

on: push
docker
0s
docker
build-linux
0s
build-linux
build-mac
0s
build-mac
build-windows
0s
build-windows
Matrix: dispatch
Fit to window
Zoom out
Zoom in

Annotations

10 errors
test: internal/test/rhp/v2/rhp.go#L117
appendAssign: append result not assigned to the same slice (gocritic)
test: internal/test/rhp/v2/rhp.go#L118
appendAssign: append result not assigned to the same slice (gocritic)
test: internal/test/rhp/v2/rhp.go#L431
appendAssign: append result not assigned to the same slice (gocritic)
test: internal/test/rhp/v2/rhp.go#L432
appendAssign: append result not assigned to the same slice (gocritic)
test: internal/test/rhp/v2/rhp.go#L462
ifElseChain: rewrite if-else to switch statement (gocritic)
test: internal/test/rhp/v2/rhp.go#L524
ifElseChain: rewrite if-else to switch statement (gocritic)
test: internal/test/rhp/v2/rhp.go#L667
ifElseChain: rewrite if-else to switch statement (gocritic)
test: host/contracts/manager.go#L220
ifElseChain: rewrite if-else to switch statement (gocritic)
test: host/settings/announce.go#L86
exitAfterDefer: log.Fatal will exit, and `defer done()` will not run (gocritic)
test: rhp/contracts.go#L176
ifElseChain: rewrite if-else to switch statement (gocritic)