Use oapi-codegen for generate server code, change mux -> chi #54
build.yml
on: pull_request
Check dependencies with nancy
16s
Lint with golangci-lint
31s
Annotations
7 errors and 4 warnings
Lint with golangci-lint:
internal/app/handlers/games.go#L1
[golangci] reported by reviewdog 🐶
: # ctf01d/internal/app/handlers
Raw Output:
internal/app/handlers/games.go:1: : # ctf01d/internal/app/handlers
|
Lint with golangci-lint:
internal/app/handlers/users.go#L33
[golangci] reported by reviewdog 🐶
routers.UserResponseRole (type) is not an expression
Raw Output:
internal/app/handlers/users.go:33:17: routers.UserResponseRole (type) is not an expression
|
Lint with golangci-lint:
internal/app/handlers/users.go#L102
[golangci] reported by reviewdog 🐶
routers.UserRequestRole (type) is not an expression (typecheck)
Raw Output:
internal/app/handlers/users.go:102:17: routers.UserRequestRole (type) is not an expression (typecheck)
package handlers
|
Lint with golangci-lint:
cmd/ctf01d/main.go#L10
[golangci] reported by reviewdog 🐶
could not import ctf01d/internal/app/handlers (-: # ctf01d/internal/app/handlers
Raw Output:
cmd/ctf01d/main.go:10:2: could not import ctf01d/internal/app/handlers (-: # ctf01d/internal/app/handlers
|
Lint with golangci-lint:
internal/app/handlers/users.go#L33
[golangci] reported by reviewdog 🐶
routers.UserResponseRole (type) is not an expression
Raw Output:
internal/app/handlers/users.go:33:17: routers.UserResponseRole (type) is not an expression
|
Lint with golangci-lint:
internal/app/handlers/users.go#L102
[golangci] reported by reviewdog 🐶
routers.UserRequestRole (type) is not an expression) (typecheck)
Raw Output:
internal/app/handlers/users.go:102:17: routers.UserRequestRole (type) is not an expression) (typecheck)
"ctf01d/internal/app/handlers"
^
|
Lint with golangci-lint
reviewdog exited with status code: 1
|
Check dependencies with nancy
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-go@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Check dependencies with nancy
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-go@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Lint with golangci-lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Lint with golangci-lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|