feat: add healthcheck handler & register it as endpoint #112
main.yaml
on: pull_request
Go Linter
/
lint
47s
Go Test
/
test
38s
Go Test
/
test-with-race
37s
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
|