Upstash integration backend #2773
pr_push_checks_go.yaml
on: pull_request
Setup cache
1m 24s
Go Linter
3m 16s
Matrix: Running Go Tests
Annotations
17 errors and 3 warnings
Running Go Tests (ubuntu-latest, api):
internal/repository/test/repository.go#L295
cannot use &TestRepository{…} (value of type *TestRepository) as repository.Repository value in return statement: *TestRepository does not implement repository.Repository (missing method UpstashIntegration)
|
Running Go Tests (ubuntu-latest, api)
Process completed with exit code 1.
|
Running Go Tests (ubuntu-latest, cli)
The job was canceled because "ubuntu-latest_api" failed.
|
Running Go Tests (ubuntu-latest, cli)
The operation was canceled.
|
Running Go Tests (ubuntu-latest, internal)
The job was canceled because "ubuntu-latest_api" failed.
|
Running Go Tests (ubuntu-latest, internal):
internal/repository/test/repository.go#L295
cannot use &TestRepository{…} (value of type *TestRepository) as repository.Repository value in return statement: *TestRepository does not implement repository.Repository (missing method UpstashIntegration)
|
Running Go Tests (ubuntu-latest, internal)
The operation was canceled.
|
Running Go Tests (ubuntu-latest, cmd)
The job was canceled because "ubuntu-latest_api" failed.
|
Running Go Tests (ubuntu-latest, cmd):
internal/repository/test/repository.go#L295
cannot use &TestRepository{…} (value of type *TestRepository) as repository.Repository value in return statement: *TestRepository does not implement repository.Repository (missing method UpstashIntegration)
|
Running Go Tests (ubuntu-latest, cmd)
The operation was canceled.
|
Go Linter
Canceling since a higher priority waiting request for 'pr-go-4597' exists
|
Go Linter:
api/server/handlers/oauth_callback/upstash.go#L166
Error return value of `resp.Body.Close` is not checked (errcheck)
|
Go Linter:
api/server/handlers/oauth_callback/upstash.go#L27
G101: Potential hardcoded credentials (gosec)
|
Go Linter:
internal/repository/gorm/repository.go#L173
exported: exported method GormRepository.UpstashIntegration should have comment or be unexported (revive)
|
Go Linter:
api/server/handlers/oauth_callback/upstash.go#L109
ineffectual assignment to oauthInt (ineffassign)
|
Go Linter:
api/server/handlers/oauth_callback/digitalocean.go#L75
SA4006: this value of `oauthInt` is never used (staticcheck)
|
Go Linter
issues found
|
Setup cache
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: tj-actions/[email protected], actions/cache@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/.
|
Running Go Tests (ubuntu-latest, provisioner)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache/restore@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/.
|
Running Go Tests (ubuntu-latest, api)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache/restore@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/.
|