Skip to content

feat: implement auth #2

feat: implement auth

feat: implement auth #2

Triggered via pull request July 16, 2024 12:03
@olexsmirolexsmir
synchronize #4
feat/auth
Status Failure
Total duration 37s
Artifacts

linter.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 1 warning
golang: internal/transport/http/middlewares.go#L9
File is not `gofumpt`-ed (gofumpt)
golang: internal/transport/http/middlewares.go#L10
File is not `goimports`-ed (goimports)
golang: e2e/e2e_utils_test.go#L38
`(*AppTestSuite).httpRequest` - `method` always receives `http.MethodPost` (`"POST"`) (unparam)
golang: internal/transport/http/apiv1/middleware.go#L36
func `(*APIV1).couldBeAuthorizedMiddleware` is unused (unused)
golang: internal/transport/http/apiv1/middleware.go#L48
func `(*APIV1).isUserAuthorized` is unused (unused)
golang
issues found
golang
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/