split gh action into lint and tests, add golangci-lint #21
Annotations
22 errors
test (1.16, ubuntu-latest):
gin/gin.go#L4
//go:build comment without // +build comment
|
test (1.16, ubuntu-latest)
//go:build comment without // +build comment
|
test (1.16, ubuntu-latest)
//go:build comment without // +build comment
|
test (1.16, ubuntu-latest)
//go:build comment without // +build comment
|
test (1.16, ubuntu-latest)
//go:build comment without // +build comment
|
test (1.16, ubuntu-latest)
Process completed with exit code 1.
|
test (1.21, ubuntu-latest)
The job was canceled because "_1_16_ubuntu-latest" failed.
|
test (1.21, ubuntu-latest)
The operation was canceled.
|
lint (1.16, ubuntu-latest):
echo/echo.go#L8
undefined: echo (typecheck)
|
lint (1.16, ubuntu-latest):
echo/echo.go#L11
undefined: echo (typecheck)
|
lint (1.16, ubuntu-latest):
echo/echo.go#L12
undefined: echo (typecheck)
|
lint (1.16, ubuntu-latest):
fiber/fiber.go#L5
`v2` redeclared in this block (typecheck)
|
lint (1.16, ubuntu-latest):
fiber/fiber.go#L4
other declaration of v2 (typecheck)
|
lint (1.16, ubuntu-latest):
fiber/fiber.go#L9
undefined: fiber (typecheck)
|
lint (1.16, ubuntu-latest):
fiber/fiber.go#L10
undefined: adaptor (typecheck)
|
lint (1.16, ubuntu-latest):
redoc.go#L96
Error return value of `w.Write` is not checked (errcheck)
|
lint (1.16, ubuntu-latest):
redoc.go#L103
Error return value of `w.Write` is not checked (errcheck)
|
lint (1.16, ubuntu-latest)
issues found
|
lint (1.21, ubuntu-latest)
The job was canceled because "_1_16_ubuntu-latest" failed.
|
lint (1.21, ubuntu-latest):
redoc.go#L96
Error return value of `w.Write` is not checked (errcheck)
|
lint (1.21, ubuntu-latest):
redoc.go#L103
Error return value of `w.Write` is not checked (errcheck)
|
lint (1.21, ubuntu-latest)
issues found
|