Skip to content

Introduce Error Codes #67

Introduce Error Codes

Introduce Error Codes #67

Re-run triggered December 2, 2023 15:23
Status Failure
Total duration 31s
Artifacts

build.yml

on: pull_request
Matrix: lint
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 10 warnings
lint (1.18): h3_test.go#L453
`testDirectedEdgeError` is unused (deadcode)
lint (1.18): h3_test.go#L316
File is not `gofmt`-ed with `-s` (gofmt)
lint (1.18): h3.go#L842
File is not `gofmt`-ed with `-s` (gofmt)
lint (1.18): example_test.go#L15
File is not `gofmt`-ed with `-s` (gofmt)
lint (1.18): h3_test.go#L245
only one cuddle assignment allowed before range statement (wsl)
lint (1.18): h3_test.go#L297
only one cuddle assignment allowed before for statement (wsl)
lint (1.18): h3.go#L223
only one cuddle assignment allowed before if statement (wsl)
lint (1.18): h3.go#L300
only one cuddle assignment allowed before if statement (wsl)
lint (1.18): h3.go#L306
only one cuddle assignment allowed before if statement (wsl)
lint (1.18): h3.go#L812
return statements should not be cuddled if block has more than two lines (wsl)
lint (1.18): h3_test.go#L259
var-naming: don't use underscores in Go names; var err_a should be errA (revive)
lint (1.18): h3_test.go#L262
var-naming: don't use underscores in Go names; var err_b should be errB (revive)
lint (1.18): h3.go#L70
error-naming: error var H3ErrorFailed should have name of the form ErrFoo (revive)
lint (1.18): h3.go#L71
error-naming: error var H3ErrorDomain should have name of the form ErrFoo (revive)
lint (1.18): h3.go#L72
error-naming: error var H3ErrorLatLngDomain should have name of the form ErrFoo (revive)
lint (1.18): h3.go#L73
error-naming: error var H3ErrorResDomain should have name of the form ErrFoo (revive)
lint (1.18): h3.go#L74
error-naming: error var H3ErrorInvalidIndex should have name of the form ErrFoo (revive)
lint (1.18): h3.go#L75
error-naming: error var H3ErrorInvalidDirEdge should have name of the form ErrFoo (revive)
lint (1.18): h3.go#L76
error-naming: error var H3ErrorInvalidUnDirEdge should have name of the form ErrFoo (revive)
lint (1.18): h3.go#L77
error-naming: error var H3ErrorInvalidVertex should have name of the form ErrFoo (revive)