Skip to content

feat: add server-side oauth for frontend #22

feat: add server-side oauth for frontend

feat: add server-side oauth for frontend #22

Triggered via pull request October 25, 2024 20:11
Status Failure
Total duration 46s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
build: tests/unit/db/models/user_test.go#L12
undefined: models.User
build: tests/unit/db/models/user_test.go#L13
undefined: models.User
build: tests/unit/db/models/user_test.go#L14
not enough arguments in call to rand.Int
build: tests/unit/db/models/user_test.go#L14
multiple-value rand.Int() (value of type (n *big.Int, err error)) in single-value context
build: tests/unit/db/models/user_test.go#L15
not enough arguments in call to rand.Int
build: tests/unit/db/models/user_test.go#L15
multiple-value rand.Int() (value of type (n *big.Int, err error)) in single-value context
build: tests/unit/oauth/oauth_test.go#L11
undefined: auth.GenerateStateToken
build: tests/unit/oauth/oauth_test.go#L12
undefined: auth.GenerateStateToken
build: pkg/github/polling.go#L80
unknown field Email in struct literal of type models.GitHubUser
build: pkg/github/polling.go#L102
repo.Owner.Email undefined (type models.GitHubUser has no field or method Email)
build
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/
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-go@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/