Skip to content

Merge pull request #2 from traPtitech/fix/open-api-required #21

Merge pull request #2 from traPtitech/fix/open-api-required

Merge pull request #2 from traPtitech/fix/open-api-required #21

Triggered via push February 1, 2024 07:01
Status Failure
Total duration 51s
Artifacts

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 11 warnings
Integration Test
Process completed with exit code 2.
Lint: internal/handler/auth.go#L73
return with no blank line before (nlreturn)
Lint: internal/handler/handler.go#L22
return with no blank line before (nlreturn)
Lint: internal/handler/auth.go#L10
SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package io or package os, and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
Lint
issues found
Build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Integration Test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Lint: internal/handler/contact.go#L5
unused-parameter: parameter 'c' seems to be unused, consider removing or renaming it as _ (revive)
Lint: internal/handler/user.go#L8
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
Lint: internal/handler/user.go#L11
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
Lint: internal/handler/user.go#L15
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
Lint: internal/handler/auth.go#L188
unused-parameter: parameter 'c' seems to be unused, consider removing or renaming it as _ (revive)
Lint: internal/handler/event.go#L81
unused-parameter: parameter 'c' seems to be unused, consider removing or renaming it as _ (revive)
Lint: main.go#L28
var-naming: var baseUrl should be baseURL (revive)
Unit Test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.