🐛 sql.ErrNoRowsの時404と500を逆にして返していた。 #29
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
Annotations
14 errors and 12 warnings
Integration Test
Process completed with exit code 2.
|
Lint
Cannot open: File exists
|
Lint
Cannot open: File exists
|
Lint
Cannot open: File exists
|
Lint
Cannot open: File exists
|
Lint
Cannot open: File exists
|
Lint
Cannot open: File exists
|
Lint
Cannot open: File exists
|
Lint
Cannot open: File exists
|
Lint
Cannot open: File exists
|
Lint
Cannot open: File exists
|
Unit Test:
internal/apperrors/error_handler.go#L12
second argument to errors.As should not be *error
|
Unit Test:
internal/handler/handler.go#L69
second argument to errors.As should not be *error
|
Unit Test
Process completed with exit code 2.
|
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
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
|
Lint:
internal/api/discord.go#L63
var-naming: var clientId should be clientID (revive)
|
Lint:
internal/api/discord.go#L125
var-naming: var clientId should be clientID (revive)
|
Lint:
internal/handler/user.go#L39
var-naming: method parameter userId should be userID (revive)
|
Lint:
internal/handler/user.go#L43
var-naming: method parameter userId should be userID (revive)
|
Lint:
internal/handler/auth.go#L139
unused-parameter: parameter 'c' seems to be unused, consider removing or renaming it as _ (revive)
|
Lint:
internal/handler/game.go#L19
empty-block: this block is empty, you can remove it (revive)
|
Lint:
internal/handler/event.go#L117
unused-parameter: parameter 'eventID' seems to be unused, consider removing or renaming it as _ (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/.
|