Skip to content

feat: add healthcheck handler & register it as endpoint #112

feat: add healthcheck handler & register it as endpoint

feat: add healthcheck handler & register it as endpoint #112

Re-run triggered August 4, 2024 09:35
Status Failure
Total duration 1m 1s
Artifacts

main.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 3 warnings
Go Linter / lint: faucet.go#L25
fieldalignment: struct with 144 pointer bytes could be 136 (govet)
Go Linter / lint: faucet_test.go#L161
unnecessary trailing newline (whitespace)
Go Linter / lint: faucet_test.go#L161
block should not end with a whitespace (or comment) (wsl)
Go Linter / lint: faucet_test.go#L179
unnecessary trailing newline (whitespace)
Go Linter / lint: faucet_test.go#L179
block should not end with a whitespace (or comment) (wsl)
Go Linter / lint: handler.go#L207
unused-parameter: parameter 'r' seems to be unused, consider removing or renaming it as _ (revive)
Go Linter / lint: handler.go#L209
Error return value of `w.Write` is not checked (errcheck)
Go Linter / lint
issues found
Go Test / test-with-race
Restore cache failed: Dependencies file is not found in /home/runner/work/faucet/faucet. Supported file pattern: go.sum
Go Test / test
Restore cache failed: Dependencies file is not found in /home/runner/work/faucet/faucet. Supported file pattern: go.sum
Go Linter / lint
Restore cache failed: Dependencies file is not found in /home/runner/work/faucet/faucet. Supported file pattern: go.sum